Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001885/0.001885, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.002103/0.002103, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.6/1.6, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.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.3492/0.3492, allocations: 44.23 MB / 327.3 MB, free: 6.711 MB / 254.1 MB " [Timeout remaining time 180] 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.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",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.002245/0.002245, allocations: 63.91 kB / 462.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3156, allocations: 60.99 MB / 0.5116 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008678/0.3243, allocations: 8.733 MB / 0.5202 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.3316, allocations: 3.479 MB / 0.5236 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.3337, allocations: 51.75 kB / 0.5236 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.3364, allocations: 1.386 MB / 0.525 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.339, allocations: 0.9534 MB / 0.5259 GB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3402, allocations: 0.5263 MB / 0.5264 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.343, allocations: 1.691 MB / 0.5281 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.3449, allocations: 1.405 MB / 0.5294 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3462, allocations: 0.6893 MB / 0.5301 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3477, allocations: 0.9425 MB / 0.531 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.3479, allocations: 136 kB / 0.5312 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3491, allocations: 0.6241 MB / 0.5318 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008023/0.3499, allocations: 0.7557 MB / 0.5325 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000948/0.3509, allocations: 0.8392 MB / 0.5333 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.3541, allocations: 2.517 MB / 0.5358 GB, free: 6.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3541, allocations: 4 kB / 0.5358 GB, free: 6.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3541, allocations: 4 kB / 0.5358 GB, free: 6.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.3542, allocations: 0 / 0.5358 GB, free: 6.125 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004128/0.3583, allocations: 2.077 MB / 0.5378 GB, free: 3.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3584, allocations: 11.89 kB / 0.5378 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.128e-05/0.3584, allocations: 42.67 kB / 0.5379 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000307/0.3587, allocations: 249.5 kB / 0.5381 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3599, allocations: 283.5 kB / 0.5384 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.3628, allocations: 1.547 MB / 0.5399 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.3629, allocations: 94.45 kB / 0.54 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.3631, allocations: 127.9 kB / 0.5401 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005862/0.3689, allocations: 2.98 MB / 0.543 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.369, allocations: 19.86 kB / 0.543 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.3691, allocations: 59.97 kB / 0.5431 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006704/0.3698, allocations: 430 kB / 0.5435 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005131/0.375, allocations: 2.167 MB / 0.5456 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/0.3894, allocations: 10.72 MB / 0.5561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/0.3936, allocations: 1.184 MB / 0.5572 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.3943, allocations: 371.3 kB / 0.5576 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004618/0.3989, allocations: 3.001 MB / 0.5605 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3989, allocations: 50.86 kB / 0.5606 GB, free: 11.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 3.817e-06/0.3989, allocations: 0 / 0.5606 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01312/0.412, allocations: 3.833 MB / 0.5643 GB, free: 7.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.4121, allocations: 85.67 kB / 0.5644 GB, free: 7.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.414, allocations: 1.207 MB / 0.5656 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.414, allocations: 37.7 kB / 0.5656 GB, free: 6.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009349/0.415, allocations: 0.9741 MB / 0.5666 GB, free: 5.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.4153, allocations: 226.2 kB / 0.5668 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.4157, allocations: 315.3 kB / 0.5671 GB, free: 5.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4159, allocations: 301.1 kB / 0.5674 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.4166, allocations: 411.7 kB / 0.5678 GB, free: 4.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.4182, allocations: 1.25 MB / 0.569 GB, free: 2.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.4205, allocations: 1.791 MB / 0.5707 GB, free: 476 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.4205, allocations: 11.94 kB / 0.5707 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003002/0.4235, allocations: 1.707 MB / 0.5724 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.4235, allocations: 20.97 kB / 0.5724 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.4235, allocations: 28 kB / 0.5725 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.4238, allocations: 88.83 kB / 0.5725 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4249, allocations: 355.3 kB / 0.5729 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.4268, allocations: 1.873 MB / 0.5747 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.4279, allocations: 71.98 kB / 0.5748 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.428, allocations: 84 kB / 0.5749 GB, free: 12.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.429, allocations: 0.6518 MB / 0.5755 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.4292, allocations: 119.2 kB / 0.5756 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.4306, allocations: 0.7068 MB / 0.5763 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.4306, allocations: 8 kB / 0.5763 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4306, allocations: 0 / 0.5763 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4306, allocations: 3.984 kB / 0.5763 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.4344, allocations: 2.228 MB / 0.5785 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.4344, allocations: 12.02 kB / 0.5785 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.4348, allocations: 95.83 kB / 0.5786 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.435, allocations: 64.77 kB / 0.5787 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.4351, allocations: 16 kB / 0.5787 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.437, allocations: 1.944 MB / 0.5806 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.437, allocations: 8 kB / 0.5806 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.4388, allocations: 1.105 MB / 0.5817 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.4393, allocations: 224.3 kB / 0.5819 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4394, allocations: 16 kB / 0.5819 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4398, allocations: 23.98 kB / 0.5819 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4399, allocations: 51.88 kB / 0.582 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.4399, allocations: 20 kB / 0.582 GB, free: 4.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.4411, allocations: 0.7758 MB / 0.5827 GB, free: 3.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4411, allocations: 0 / 0.5827 GB, free: 3.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001439/0.4426, allocations: 296 kB / 0.583 GB, free: 3.375 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/0.4447, allocations: 1.694 MB / 0.5847 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.4466, allocations: 1.053 MB / 0.5857 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4467, allocations: 0.6875 kB / 0.5857 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.4473, allocations: 390.2 kB / 0.5861 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4484, allocations: 194.4 kB / 0.5863 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.4659, allocations: 11.57 MB / 0.5976 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.4673, allocations: 1.455 MB / 0.599 GB, free: 1.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4683, allocations: 409.7 kB / 0.5994 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/0.4691, allocations: 0.5852 MB / 0.5999 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4691, allocations: 4 kB / 0.5999 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/0.5259, allocations: 23.45 MB / 0.6228 GB, free: 9.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.11, allocations: 8 kB / 0.6229 GB, free: 9.355 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.925575062981807]