Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001831/0.001831, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002295/0.002295, allocations: 211.7 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2517/0.2517, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3479, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0104/0.3583, allocations: 7.637 MB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007274/0.3655, allocations: 3.287 MB / 0.5713 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3666, allocations: 51.75 kB / 0.5713 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.3694, allocations: 1.328 MB / 0.5726 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.3717, allocations: 0.934 MB / 0.5735 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3729, allocations: 0.5225 MB / 0.574 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.3753, allocations: 1.722 MB / 0.5757 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.3768, allocations: 1.253 MB / 0.5769 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000939/0.3778, allocations: 0.6776 MB / 0.5776 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.3792, allocations: 0.9425 MB / 0.5785 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.3794, allocations: 136 kB / 0.5787 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3805, allocations: 0.5656 MB / 0.5792 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007645/0.3813, allocations: 0.7518 MB / 0.5799 GB, free: 308 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.382, allocations: 0.6489 MB / 0.5806 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.3849, allocations: 2.495 MB / 0.583 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3849, allocations: 4 kB / 0.583 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3849, allocations: 0 / 0.583 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.402e-05/0.3849, allocations: 0 / 0.583 GB, free: 13.14 MB / 430.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.004275/0.3892, allocations: 1.99 MB / 0.585 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3892, allocations: 12.03 kB / 0.585 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003085/0.3896, allocations: 245.5 kB / 0.5852 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.3908, allocations: 291.5 kB / 0.5855 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.3934, allocations: 1.218 MB / 0.5867 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.3935, allocations: 94.39 kB / 0.5868 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.3937, allocations: 124 kB / 0.5869 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00561/0.3993, allocations: 3.05 MB / 0.5899 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.3994, allocations: 11.89 kB / 0.5899 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.3995, allocations: 59.97 kB / 0.5899 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006516/0.4002, allocations: 441.9 kB / 0.5903 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.4049, allocations: 2.175 MB / 0.5925 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.4202, allocations: 10.25 MB / 0.6025 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.4244, allocations: 1.189 MB / 0.6036 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.425, allocations: 386.9 kB / 0.604 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004077/0.4291, allocations: 2.011 MB / 0.606 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4291, allocations: 39 kB / 0.606 GB, free: 4.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.444e-06/0.4291, allocations: 0 / 0.606 GB, free: 4.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01241/0.4416, allocations: 3.586 MB / 0.6095 GB, free: 1.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4417, allocations: 81.61 kB / 0.6096 GB, free: 1.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.4439, allocations: 1.244 MB / 0.6108 GB, free: 15.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.4439, allocations: 41.69 kB / 0.6108 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/0.4449, allocations: 0.9624 MB / 0.6118 GB, free: 14.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.4451, allocations: 226.2 kB / 0.612 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004435/0.4455, allocations: 315.3 kB / 0.6123 GB, free: 14.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4457, allocations: 301.1 kB / 0.6126 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.4464, allocations: 415.7 kB / 0.613 GB, free: 13.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4478, allocations: 1.271 MB / 0.6142 GB, free: 12.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.4504, allocations: 1.806 MB / 0.616 GB, free: 9.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.4504, allocations: 8 kB / 0.616 GB, free: 9.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00303/0.4534, allocations: 1.719 MB / 0.6177 GB, free: 8.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.4535, allocations: 20 kB / 0.6177 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/0.4535, allocations: 31.94 kB / 0.6177 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.4537, allocations: 96.95 kB / 0.6178 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4549, allocations: 351.4 kB / 0.6182 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.4569, allocations: 1.765 MB / 0.6199 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.458, allocations: 67.97 kB / 0.6199 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.4581, allocations: 92.06 kB / 0.62 GB, free: 5.523 MB / 462.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.00101/0.4591, allocations: 0.6323 MB / 0.6206 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4593, allocations: 119.3 kB / 0.6208 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4596, allocations: 143.6 kB / 0.6209 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4596, allocations: 11.92 kB / 0.6209 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.4596, allocations: 4 kB / 0.6209 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4596, allocations: 0 / 0.6209 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.4636, allocations: 2.141 MB / 0.623 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.4636, allocations: 4 kB / 0.623 GB, free: 2.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.464, allocations: 96 kB / 0.6231 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.4642, allocations: 60.83 kB / 0.6232 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.4643, allocations: 23.98 kB / 0.6232 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.4664, allocations: 1.833 MB / 0.625 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4664, allocations: 4 kB / 0.625 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.4683, allocations: 1.111 MB / 0.6261 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.4685, allocations: 107.2 kB / 0.6262 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4686, allocations: 24.11 kB / 0.6262 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.469, allocations: 27.92 kB / 0.6262 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.4691, allocations: 51.86 kB / 0.6263 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.4692, allocations: 19.94 kB / 0.6263 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.4703, allocations: 0.7558 MB / 0.627 GB, free: 14.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4703, allocations: 0 / 0.627 GB, free: 14.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4718, allocations: 292 kB / 0.6273 GB, free: 13.79 MB / 478.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.002164/0.4739, allocations: 1.688 MB / 0.6289 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.476, allocations: 1.073 MB / 0.63 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.476, allocations: 0 / 0.63 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.4766, allocations: 395.5 kB / 0.6304 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4777, allocations: 192.7 kB / 0.6306 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.4953, allocations: 11.5 MB / 0.6418 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.4964, allocations: 0.8629 MB / 0.6426 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009816/0.4974, allocations: 413.5 kB / 0.643 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/0.4982, allocations: 0.5774 MB / 0.6436 GB, free: 11.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4982, allocations: 0 / 0.6436 GB, free: 11.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.5649, allocations: 24.56 MB / 0.6676 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.92, allocations: 3.938 kB / 0.6676 GB, free: 3.691 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.206709100981243]