Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 97.91 kB / 20.48 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 215.5 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 70.7 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1275, allocations: 61.04 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005839/0.1334, allocations: 3.708 MB / 0.5205 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1358, allocations: 1.076 MB / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.1363, allocations: 15.88 kB / 0.5216 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.1367, allocations: 98.95 kB / 0.5217 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.1374, allocations: 210.1 kB / 0.5219 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.1381, allocations: 187.6 kB / 0.5221 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1392, allocations: 0.7784 MB / 0.5228 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.1396, allocations: 168.1 kB / 0.523 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006091/0.1402, allocations: 322.9 kB / 0.5233 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.1406, allocations: 342.5 kB / 0.5236 GB, free: 288 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/0.1407, allocations: 60 kB / 0.5237 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.1409, allocations: 87.92 kB / 0.5238 GB, free: 140 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1411, allocations: 147.5 kB / 0.5239 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.1414, allocations: 286.6 kB / 0.5242 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.1424, allocations: 0.7779 MB / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1424, allocations: 0 / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1424, allocations: 0 / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1424, allocations: 0 / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002185/0.1446, allocations: 0.941 MB / 0.5259 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1446, allocations: 8.031 kB / 0.5259 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.198e-05/0.1447, allocations: 17.5 kB / 0.5259 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.1448, allocations: 98.69 kB / 0.526 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1449, allocations: 80.47 kB / 0.526 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.1455, allocations: 340.3 kB / 0.5264 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.1455, allocations: 41.69 kB / 0.5264 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.1457, allocations: 72.27 kB / 0.5265 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.147, allocations: 0.6187 MB / 0.5271 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.1471, allocations: 15.88 kB / 0.5271 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.1471, allocations: 24 kB / 0.5271 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.1471, allocations: 20 kB / 0.5271 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1484, allocations: 0.5216 MB / 0.5277 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.1521, allocations: 1.99 MB / 0.5296 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1535, allocations: 0.6568 MB / 0.5302 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.1541, allocations: 319.1 kB / 0.5305 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.1542, allocations: 24.73 kB / 0.5306 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.1543, allocations: 46.88 kB / 0.5306 GB, free: 8.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.667e-06/0.1543, allocations: 4 kB / 0.5306 GB, free: 8.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.009052/0.1633, allocations: 3.954 MB / 0.5345 GB, free: 4.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.1635, allocations: 222.3 kB / 0.5347 GB, free: 4.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.164, allocations: 369.9 kB / 0.535 GB, free: 4.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/0.1641, allocations: 45.8 kB / 0.5351 GB, free: 3.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.1643, allocations: 277.4 kB / 0.5353 GB, free: 3.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.1647, allocations: 428.3 kB / 0.5358 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.165, allocations: 175 kB / 0.5359 GB, free: 3.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1652, allocations: 378.8 kB / 0.5363 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.1659, allocations: 318.4 kB / 0.5366 GB, free: 2.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.1668, allocations: 0.5082 MB / 0.5371 GB, free: 1.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.1685, allocations: 0.8706 MB / 0.5379 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1685, allocations: 0 / 0.5379 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.2226/0.391, allocations: 1.012 MB / 0.5389 GB, free: 27.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3911, allocations: 8.125 kB / 0.5389 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3911, allocations: 4.531 kB / 0.5389 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/0.3911, allocations: 10.34 kB / 0.5389 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3924, allocations: 287.2 kB / 0.5392 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.3924, allocations: 11.95 kB / 0.5392 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.3929, allocations: 50.77 kB / 0.5393 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.393, allocations: 42.09 kB / 0.5393 GB, free: 27.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.3933, allocations: 232.5 kB / 0.5395 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.3936, allocations: 78.92 kB / 0.5396 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.394, allocations: 222.1 kB / 0.5398 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.394, allocations: 12.56 kB / 0.5398 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.3941, allocations: 4.891 kB / 0.5398 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3941, allocations: 6.719 kB / 0.5398 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.3976, allocations: 2.142 MB / 0.5419 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.3976, allocations: 5 kB / 0.5419 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.3987, allocations: 249.1 kB / 0.5422 GB, free: 26.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.3987, allocations: 8.156 kB / 0.5422 GB, free: 26.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/0.3988, allocations: 28.06 kB / 0.5422 GB, free: 26.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.3988, allocations: 12.58 kB / 0.5422 GB, free: 26.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.3988, allocations: 9.156 kB / 0.5422 GB, free: 26.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.4015, allocations: 1.903 MB / 0.5441 GB, free: 25.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.4018, allocations: 122.3 kB / 0.5442 GB, free: 25.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.4019, allocations: 26.55 kB / 0.5442 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000612/0.4025, allocations: 45.36 kB / 0.5443 GB, free: 25.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.4027, allocations: 91.42 kB / 0.5444 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.4028, allocations: 35.61 kB / 0.5444 GB, free: 25.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.403, allocations: 254.2 kB / 0.5446 GB, free: 25.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.403, allocations: 0 / 0.5446 GB, free: 25.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009447/0.404, allocations: 193.7 kB / 0.5448 GB, free: 25.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00294/0.4069, allocations: 2.489 MB / 0.5473 GB, free: 24.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.4092, allocations: 0.8149 MB / 0.5481 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.4092, allocations: 0.9062 kB / 0.5481 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.4103, allocations: 470 kB / 0.5485 GB, free: 23.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.4118, allocations: 135.3 kB / 0.5486 GB, free: 23.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4219, allocations: 7.231 MB / 0.5557 GB, free: 19.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.4223, allocations: 348.7 kB / 0.556 GB, free: 19.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.4229, allocations: 103.8 kB / 0.5561 GB, free: 19.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.4233, allocations: 264.5 kB / 0.5564 GB, free: 18.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4233, allocations: 1.188 kB / 0.5564 GB, free: 18.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.4644, allocations: 14.7 MB / 0.5707 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.42, allocations: 2.531 kB / 0.5707 GB, free: 14.21 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.866100425017066]