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.001873/0.001873, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.001577/0.001577, allocations: 223.9 kB / 23.79 MB, free: 4.695 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.521/1.521, allocations: 207.6 MB / 234.6 MB, free: 9.973 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.2404/0.2404, allocations: 44.25 MB / 331.1 MB, free: 9.504 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.002228/0.002228, allocations: 71.91 kB / 468.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1486, allocations: 61.05 MB / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01241/0.161, allocations: 8.757 MB / 0.5255 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007937/0.1689, allocations: 3.496 MB / 0.5289 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.1705, allocations: 51.75 kB / 0.5289 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.1734, allocations: 1.398 MB / 0.5303 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.1765, allocations: 0.9612 MB / 0.5312 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.1778, allocations: 0.5147 MB / 0.5317 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.1806, allocations: 1.695 MB / 0.5334 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.1822, allocations: 1.276 MB / 0.5346 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.1833, allocations: 0.6893 MB / 0.5353 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.1847, allocations: 0.9463 MB / 0.5362 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.1849, allocations: 140 kB / 0.5364 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.186, allocations: 0.6202 MB / 0.537 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007773/0.1868, allocations: 0.7557 MB / 0.5377 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008935/0.1877, allocations: 0.8393 MB / 0.5385 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2333/0.421, allocations: 2.522 MB / 0.541 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.421, allocations: 0 / 0.541 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.421, allocations: 1.406 kB / 0.541 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.519e-05/0.4211, allocations: 0 / 0.541 GB, free: 14.12 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.004956/0.4261, allocations: 2.001 MB / 0.543 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4261, allocations: 9.125 kB / 0.543 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.001e-05/0.4262, allocations: 37.25 kB / 0.543 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002959/0.4265, allocations: 248 kB / 0.5432 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.4278, allocations: 283.4 kB / 0.5435 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.4312, allocations: 1.485 MB / 0.545 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.4313, allocations: 97.06 kB / 0.5451 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.4315, allocations: 127.2 kB / 0.5452 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006242/0.4378, allocations: 2.989 MB / 0.5481 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.376e-05/0.4378, allocations: 10.84 kB / 0.5481 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.438, allocations: 65.33 kB / 0.5482 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007678/0.4388, allocations: 425.7 kB / 0.5486 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/0.444, allocations: 2.164 MB / 0.5507 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.4572, allocations: 10.66 MB / 0.5611 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.461, allocations: 1.183 MB / 0.5623 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.4616, allocations: 382 kB / 0.5626 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0037/0.4653, allocations: 2.079 MB / 0.5646 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4653, allocations: 38.97 kB / 0.5647 GB, free: 3.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 3.066e-06/0.4653, allocations: 1.422 kB / 0.5647 GB, free: 3.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01177/0.4771, allocations: 3.61 MB / 0.5682 GB, free: 2.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.4771, allocations: 84.17 kB / 0.5683 GB, free: 2.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4786, allocations: 1.211 MB / 0.5695 GB, free: 2.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.4787, allocations: 35.27 kB / 0.5695 GB, free: 2.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.4791, allocations: 0.9724 MB / 0.5705 GB, free: 1.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4793, allocations: 227.6 kB / 0.5707 GB, free: 1.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.4796, allocations: 319.5 kB / 0.571 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.4796, allocations: 305.1 kB / 0.5713 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.4802, allocations: 408.5 kB / 0.5717 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4813, allocations: 1.243 MB / 0.5729 GB, free: 15.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.4835, allocations: 1.793 MB / 0.5746 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.4835, allocations: 8.469 kB / 0.5746 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002667/0.4862, allocations: 1.71 MB / 0.5763 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.4862, allocations: 19.42 kB / 0.5763 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/0.4862, allocations: 34.16 kB / 0.5764 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/0.4865, allocations: 85.56 kB / 0.5764 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4875, allocations: 356.2 kB / 0.5768 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.4894, allocations: 1.774 MB / 0.5785 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.4905, allocations: 64.03 kB / 0.5786 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4906, allocations: 85.44 kB / 0.5787 GB, free: 11.68 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.001109/0.4917, allocations: 0.6573 MB / 0.5793 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.4919, allocations: 120.6 kB / 0.5794 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.4932, allocations: 0.7087 MB / 0.5801 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4932, allocations: 4.656 kB / 0.5801 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4932, allocations: 2.875 kB / 0.5801 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4932, allocations: 7.984 kB / 0.5801 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.4969, allocations: 2.21 MB / 0.5823 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4969, allocations: 2.656 kB / 0.5823 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.4973, allocations: 94.48 kB / 0.5824 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.4975, allocations: 66.91 kB / 0.5824 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.4975, allocations: 19.91 kB / 0.5824 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.4994, allocations: 1.831 MB / 0.5842 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.4994, allocations: 11.41 kB / 0.5842 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5011, allocations: 1.106 MB / 0.5853 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.5015, allocations: 148.7 kB / 0.5855 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5017, allocations: 14.88 kB / 0.5855 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.5021, allocations: 22.97 kB / 0.5855 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.5021, allocations: 51.25 kB / 0.5856 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.5022, allocations: 23.11 kB / 0.5856 GB, free: 6.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.5033, allocations: 0.7768 MB / 0.5863 GB, free: 6.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5033, allocations: 0 / 0.5863 GB, free: 6.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001444/0.5047, allocations: 296.9 kB / 0.5866 GB, free: 6.488 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.001903/0.5066, allocations: 1.678 MB / 0.5883 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.5086, allocations: 1.055 MB / 0.5893 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.5086, allocations: 4.125 kB / 0.5893 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.5091, allocations: 383.3 kB / 0.5897 GB, free: 4.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.5103, allocations: 196.9 kB / 0.5898 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.5276, allocations: 11.6 MB / 0.6012 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.5289, allocations: 1.458 MB / 0.6026 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001039/0.53, allocations: 407 kB / 0.603 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007509/0.5307, allocations: 0.5813 MB / 0.6036 GB, free: 6.457 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5307, allocations: 0 / 0.6036 GB, free: 6.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06403/0.5948, allocations: 24.61 MB / 0.6276 GB, free: 13.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/14.89, allocations: 11.48 kB / 0.6276 GB, free: 13.85 MB / 478.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: 18.78516619297443]