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.001407/0.001407, allocations: 97.91 kB / 20.48 MB, free: 1.215 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.00154/0.00154, allocations: 218.3 kB / 23.78 MB, free: 4.156 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.607/1.607, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2457/0.2457, allocations: 44.27 MB / 331.1 MB, free: 9.402 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.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.002467/0.002467, allocations: 71.89 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1262, allocations: 61.05 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01128/0.1375, allocations: 7.648 MB / 0.5244 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007849/0.1453, allocations: 3.255 MB / 0.5276 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.1477, allocations: 59.75 kB / 0.5276 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.1514, allocations: 1.312 MB / 0.5289 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.1545, allocations: 0.9807 MB / 0.5299 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.1559, allocations: 0.5224 MB / 0.5304 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.1588, allocations: 1.687 MB / 0.532 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.1608, allocations: 1.28 MB / 0.5333 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.1621, allocations: 0.6931 MB / 0.534 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.1638, allocations: 0.9541 MB / 0.5349 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004356/0.1642, allocations: 140 kB / 0.535 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1656, allocations: 0.589 MB / 0.5356 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.1666, allocations: 0.7557 MB / 0.5363 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.1679, allocations: 0.6567 MB / 0.537 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2727/0.4407, allocations: 2.541 MB / 0.5395 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.4407, allocations: 0 / 0.5395 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4407, allocations: 1 kB / 0.5395 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.4408, allocations: 0 / 0.5395 GB, free: 14.97 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004488/0.4453, allocations: 2.004 MB / 0.5414 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4453, allocations: 9.625 kB / 0.5414 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.514e-05/0.4454, allocations: 36.33 kB / 0.5415 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003445/0.4458, allocations: 246.8 kB / 0.5417 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.4472, allocations: 287.5 kB / 0.542 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.4501, allocations: 1.484 MB / 0.5434 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.4502, allocations: 97.81 kB / 0.5435 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.4504, allocations: 127.2 kB / 0.5436 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006451/0.4569, allocations: 3.038 MB / 0.5466 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/0.4569, allocations: 11.94 kB / 0.5466 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.4571, allocations: 56.02 kB / 0.5467 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007362/0.4578, allocations: 436.7 kB / 0.5471 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.4629, allocations: 2.159 MB / 0.5492 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.4769, allocations: 10.25 MB / 0.5592 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/0.481, allocations: 1.188 MB / 0.5604 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.4817, allocations: 371.4 kB / 0.5607 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004086/0.4858, allocations: 2.006 MB / 0.5627 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4858, allocations: 42.45 kB / 0.5627 GB, free: 4.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/0.4858, allocations: 3.75 kB / 0.5627 GB, free: 4.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01245/0.4982, allocations: 3.597 MB / 0.5662 GB, free: 3.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4983, allocations: 86.45 kB / 0.5663 GB, free: 3.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.5, allocations: 1.221 MB / 0.5675 GB, free: 3.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.5001, allocations: 36.08 kB / 0.5675 GB, free: 3.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.5005, allocations: 0.9712 MB / 0.5685 GB, free: 2.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5007, allocations: 234.9 kB / 0.5687 GB, free: 2.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.5011, allocations: 313.8 kB / 0.569 GB, free: 2.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.5011, allocations: 302.2 kB / 0.5693 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.5017, allocations: 410.1 kB / 0.5697 GB, free: 1.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009739/0.5027, allocations: 1.265 MB / 0.5709 GB, free: 352 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.5048, allocations: 1.798 MB / 0.5727 GB, free: 14.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-05/0.5049, allocations: 8.25 kB / 0.5727 GB, free: 14.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003169/0.508, allocations: 1.707 MB / 0.5744 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.5081, allocations: 19.69 kB / 0.5744 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.5081, allocations: 29.72 kB / 0.5744 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.5084, allocations: 92.84 kB / 0.5745 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.5094, allocations: 355.9 kB / 0.5748 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.5113, allocations: 1.763 MB / 0.5766 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.5126, allocations: 72.56 kB / 0.5766 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.5127, allocations: 85.59 kB / 0.5767 GB, free: 12.77 MB / 430.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.001177/0.5139, allocations: 0.645 MB / 0.5773 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.5142, allocations: 120.9 kB / 0.5774 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.5156, allocations: 0.7057 MB / 0.5781 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5156, allocations: 6.031 kB / 0.5781 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5156, allocations: 2.812 kB / 0.5781 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5156, allocations: 4.219 kB / 0.5781 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.5204, allocations: 2.143 MB / 0.5802 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.5204, allocations: 3.219 kB / 0.5802 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.5208, allocations: 94.27 kB / 0.5803 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.5211, allocations: 68.31 kB / 0.5804 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.5211, allocations: 18.44 kB / 0.5804 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.5233, allocations: 1.828 MB / 0.5822 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.5233, allocations: 11.84 kB / 0.5822 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5253, allocations: 1.101 MB / 0.5833 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/0.5258, allocations: 149.2 kB / 0.5834 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.5261, allocations: 16.81 kB / 0.5834 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.5267, allocations: 28.97 kB / 0.5835 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.5268, allocations: 47.66 kB / 0.5835 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.5268, allocations: 21.08 kB / 0.5835 GB, free: 8.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.5284, allocations: 0.7792 MB / 0.5843 GB, free: 8.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5284, allocations: 0 / 0.5843 GB, free: 8.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002343/0.5308, allocations: 295.2 kB / 0.5846 GB, free: 8.43 MB / 430.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.002433/0.5332, allocations: 1.678 MB / 0.5862 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.5353, allocations: 1.053 MB / 0.5872 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.5353, allocations: 1.906 kB / 0.5873 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.5359, allocations: 394.8 kB / 0.5876 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.5375, allocations: 193.9 kB / 0.5878 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/0.5606, allocations: 11.58 MB / 0.5991 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.5624, allocations: 0.8645 MB / 0.6 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.5636, allocations: 413 kB / 0.6004 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009751/0.5646, allocations: 0.5863 MB / 0.6009 GB, free: 9.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5646, allocations: 0 / 0.6009 GB, free: 9.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06975/0.6344, allocations: 24.51 MB / 0.6249 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.16, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 462.1 MB " [Timeout remaining time 645] (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: 19.128212568932213]