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.001837/0.001837, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.0022/0.0022, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2272/0.2272, allocations: 46.92 MB / 357.8 MB, free: 10.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01139/0.1477, allocations: 8.682 MB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008417/0.1561, allocations: 3.487 MB / 0.568 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.1581, allocations: 51.75 kB / 0.568 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.1611, allocations: 1.382 MB / 0.5694 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.164, allocations: 0.9262 MB / 0.5703 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1653, allocations: 0.5186 MB / 0.5708 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.168, allocations: 1.734 MB / 0.5725 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.1697, allocations: 1.374 MB / 0.5738 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009851/0.1707, allocations: 0.6738 MB / 0.5745 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1721, allocations: 0.9502 MB / 0.5754 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.1724, allocations: 136 kB / 0.5755 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.1735, allocations: 0.5968 MB / 0.5761 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007694/0.1743, allocations: 0.7441 MB / 0.5768 GB, free: 464 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009146/0.1752, allocations: 0.8276 MB / 0.5776 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.1783, allocations: 2.487 MB / 0.5801 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1784, allocations: 0 / 0.5801 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1784, allocations: 0 / 0.5801 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.1784, allocations: 0 / 0.5801 GB, free: 13.12 MB / 446.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.003965/0.1824, allocations: 2.054 MB / 0.5821 GB, free: 11.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1824, allocations: 8.031 kB / 0.5821 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.697e-05/0.1825, allocations: 42.67 kB / 0.5821 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003123/0.1828, allocations: 245.5 kB / 0.5823 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.184, allocations: 283.5 kB / 0.5826 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.1866, allocations: 1.294 MB / 0.5839 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/0.1867, allocations: 98.45 kB / 0.584 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.1869, allocations: 127.9 kB / 0.5841 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006475/0.1934, allocations: 3 MB / 0.587 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.569e-05/0.1935, allocations: 15.89 kB / 0.587 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.1936, allocations: 55.97 kB / 0.5871 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007249/0.1943, allocations: 438 kB / 0.5875 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005391/0.1997, allocations: 2.175 MB / 0.5896 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3511/0.5509, allocations: 10.7 MB / 0.6001 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.5552, allocations: 1.202 MB / 0.6013 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006973/0.5559, allocations: 374.2 kB / 0.6016 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004315/0.5602, allocations: 3.086 MB / 0.6046 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5602, allocations: 38.42 kB / 0.6047 GB, free: 26.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.5602, allocations: 2.344 kB / 0.6047 GB, free: 26.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01271/0.573, allocations: 3.81 MB / 0.6084 GB, free: 25.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.573, allocations: 86.86 kB / 0.6085 GB, free: 25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.5749, allocations: 1.197 MB / 0.6096 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.575, allocations: 32.73 kB / 0.6097 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.5755, allocations: 0.9693 MB / 0.6106 GB, free: 23.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.5757, allocations: 229.1 kB / 0.6108 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.5761, allocations: 310.2 kB / 0.6111 GB, free: 23.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.5761, allocations: 305.7 kB / 0.6114 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.5768, allocations: 412.4 kB / 0.6118 GB, free: 23.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.5778, allocations: 1.251 MB / 0.613 GB, free: 21.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.5795, allocations: 1.804 MB / 0.6148 GB, free: 20.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.5796, allocations: 13.52 kB / 0.6148 GB, free: 20.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002679/0.5822, allocations: 1.718 MB / 0.6165 GB, free: 19.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.5823, allocations: 18.42 kB / 0.6165 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.5823, allocations: 28.62 kB / 0.6165 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.5826, allocations: 85.02 kB / 0.6166 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5836, allocations: 359.6 kB / 0.617 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.585, allocations: 1.878 MB / 0.6188 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/0.5859, allocations: 67.64 kB / 0.6189 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.586, allocations: 84.39 kB / 0.6189 GB, free: 17.78 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.0008493/0.5869, allocations: 0.6446 MB / 0.6196 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.587, allocations: 124.8 kB / 0.6197 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.5873, allocations: 133.7 kB / 0.6198 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5873, allocations: 5.125 kB / 0.6198 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5873, allocations: 1.406 kB / 0.6198 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5873, allocations: 4.141 kB / 0.6198 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.5906, allocations: 2.235 MB / 0.622 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.5906, allocations: 8.172 kB / 0.622 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.591, allocations: 95 kB / 0.6221 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.5911, allocations: 75.88 kB / 0.6222 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.5912, allocations: 14.94 kB / 0.6222 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.5924, allocations: 1.943 MB / 0.6241 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.5924, allocations: 12.59 kB / 0.6241 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.5937, allocations: 1.113 MB / 0.6252 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.5939, allocations: 190.1 kB / 0.6254 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.594, allocations: 19.22 kB / 0.6254 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.5944, allocations: 24.88 kB / 0.6254 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.5945, allocations: 46.84 kB / 0.6255 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.5945, allocations: 19.31 kB / 0.6255 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008843/0.5954, allocations: 0.7642 MB / 0.6262 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5954, allocations: 0 / 0.6262 GB, free: 13.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001448/0.5969, allocations: 293.1 kB / 0.6265 GB, free: 13.27 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.0016/0.5985, allocations: 1.687 MB / 0.6281 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.6001, allocations: 1.066 MB / 0.6292 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6001, allocations: 0.625 kB / 0.6292 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.6006, allocations: 404 kB / 0.6296 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.6015, allocations: 188.4 kB / 0.6298 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.6134, allocations: 11.48 MB / 0.641 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.6146, allocations: 1.451 MB / 0.6424 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.6156, allocations: 405.6 kB / 0.6428 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007652/0.6164, allocations: 0.5774 MB / 0.6433 GB, free: 13.93 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6164, allocations: 0 / 0.6433 GB, free: 13.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05282/0.6692, allocations: 23.21 MB / 0.666 GB, free: 6.977 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.13, allocations: 4.062 kB / 0.666 GB, free: 6.973 MB / 478.1 MB " [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: 17.00046672602184]