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.001412/0.001412, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001657/0.001657, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.704/1.704, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.2373/0.2373, allocations: 44.27 MB / 330.4 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.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",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.002301/0.002301, allocations: 67.89 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1504, allocations: 61.05 MB / 0.5162 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01101/0.1614, allocations: 7.683 MB / 0.5237 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008204/0.1696, allocations: 3.274 MB / 0.5269 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.171, allocations: 51.75 kB / 0.5269 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.1739, allocations: 1.332 MB / 0.5282 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.1765, allocations: 0.9729 MB / 0.5292 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1776, allocations: 0.5147 MB / 0.5297 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002295/0.1799, allocations: 1.695 MB / 0.5313 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1816, allocations: 1.272 MB / 0.5326 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.1827, allocations: 0.6893 MB / 0.5332 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.1841, allocations: 0.8838 MB / 0.5341 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.1843, allocations: 136 kB / 0.5342 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.1856, allocations: 0.5812 MB / 0.5348 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008911/0.1865, allocations: 0.7518 MB / 0.5355 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008219/0.1874, allocations: 0.6644 MB / 0.5362 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3013/0.4886, allocations: 2.537 MB / 0.5387 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4886, allocations: 0.8438 kB / 0.5387 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4886, allocations: 0 / 0.5387 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000142/0.4888, allocations: 3.344 kB / 0.5387 GB, free: 14.8 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.004897/0.4937, allocations: 2.004 MB / 0.5406 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4937, allocations: 9.156 kB / 0.5406 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.494, allocations: 246.7 kB / 0.5409 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.4953, allocations: 290.3 kB / 0.5411 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.4985, allocations: 1.477 MB / 0.5426 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.4985, allocations: 93.34 kB / 0.5427 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.4987, allocations: 134.4 kB / 0.5428 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005603/0.5043, allocations: 3.034 MB / 0.5458 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/0.5044, allocations: 16.56 kB / 0.5458 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.5045, allocations: 56.48 kB / 0.5458 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007346/0.5053, allocations: 436.2 kB / 0.5462 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/0.5103, allocations: 2.161 MB / 0.5484 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.5232, allocations: 10.25 MB / 0.5584 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.5271, allocations: 1.186 MB / 0.5595 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/0.5277, allocations: 371.5 kB / 0.5599 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004009/0.5317, allocations: 2.007 MB / 0.5618 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5317, allocations: 38.28 kB / 0.5619 GB, free: 4.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.815e-06/0.5317, allocations: 1.094 kB / 0.5619 GB, free: 4.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01238/0.5441, allocations: 3.602 MB / 0.5654 GB, free: 3.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.5442, allocations: 84.61 kB / 0.5655 GB, free: 3.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.5458, allocations: 1.264 MB / 0.5667 GB, free: 3.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5459, allocations: 36.86 kB / 0.5667 GB, free: 2.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.5464, allocations: 0.9774 MB / 0.5677 GB, free: 2.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.5465, allocations: 231.9 kB / 0.5679 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.5469, allocations: 312 kB / 0.5682 GB, free: 1.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.5469, allocations: 306.2 kB / 0.5685 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.5475, allocations: 405.9 kB / 0.5689 GB, free: 1.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.5486, allocations: 1.265 MB / 0.5701 GB, free: 204 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.551, allocations: 1.803 MB / 0.5719 GB, free: 14.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.551, allocations: 12.75 kB / 0.5719 GB, free: 14.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00306/0.5541, allocations: 1.708 MB / 0.5736 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.5541, allocations: 17.28 kB / 0.5736 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.5542, allocations: 31.12 kB / 0.5736 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.5544, allocations: 87.42 kB / 0.5737 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.5555, allocations: 356.2 kB / 0.574 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.5573, allocations: 1.766 MB / 0.5758 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5584, allocations: 70.45 kB / 0.5758 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.5585, allocations: 85.59 kB / 0.5759 GB, free: 12.66 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.001087/0.5596, allocations: 0.6478 MB / 0.5765 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.5598, allocations: 121.3 kB / 0.5767 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.561, allocations: 0.7099 MB / 0.5774 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.561, allocations: 5.781 kB / 0.5774 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.561, allocations: 1.438 kB / 0.5774 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.561, allocations: 1.125 kB / 0.5774 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.565, allocations: 2.138 MB / 0.5795 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.565, allocations: 3.188 kB / 0.5795 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.5654, allocations: 102.9 kB / 0.5796 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.5655, allocations: 63.09 kB / 0.5796 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.5656, allocations: 18.5 kB / 0.5796 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.5674, allocations: 1.823 MB / 0.5814 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.5674, allocations: 17.66 kB / 0.5814 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.569, allocations: 1.102 MB / 0.5825 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.5694, allocations: 148.7 kB / 0.5826 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.5696, allocations: 19.64 kB / 0.5827 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.5699, allocations: 20 kB / 0.5827 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.57, allocations: 54.41 kB / 0.5827 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.57, allocations: 24.73 kB / 0.5828 GB, free: 8.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.5712, allocations: 0.7744 MB / 0.5835 GB, free: 8.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5712, allocations: 1.375 kB / 0.5835 GB, free: 8.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001595/0.5728, allocations: 296 kB / 0.5838 GB, free: 8.309 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.002003/0.5748, allocations: 1.673 MB / 0.5854 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.5767, allocations: 1.054 MB / 0.5865 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5767, allocations: 1.094 kB / 0.5865 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.5772, allocations: 392.6 kB / 0.5868 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009876/0.5782, allocations: 197.1 kB / 0.587 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.5959, allocations: 11.59 MB / 0.5983 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.5972, allocations: 0.8633 MB / 0.5992 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.5982, allocations: 414.1 kB / 0.5996 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/0.599, allocations: 0.5813 MB / 0.6001 GB, free: 9.254 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/0.599, allocations: 4 kB / 0.6002 GB, free: 9.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07014/0.6691, allocations: 24.27 MB / 0.6239 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.21, allocations: 3.938 kB / 0.6239 GB, free: 0.9922 MB / 462.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.85344760864973]