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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001667, allocations: 104.9 kB / 16.94 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 191.4 kB / 17.86 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 223.7 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2281/0.2281, allocations: 43.52 MB / 314.6 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.14 kB / 383.4 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1278, allocations: 57.8 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008493/0.1363, allocations: 8.685 MB / 449.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008078/0.1445, allocations: 3.457 MB / 453.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.1463, allocations: 43.88 kB / 453.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.1493, allocations: 1.374 MB / 454.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.1522, allocations: 0.9377 MB / 455.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1534, allocations: 0.5186 MB / 456.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.1559, allocations: 1.699 MB / 457.9 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.158, allocations: 1.655 MB / 459.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.159, allocations: 0.6737 MB / 460.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1601, allocations: 0.8957 MB / 461.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.1603, allocations: 136 kB / 461.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1615, allocations: 0.5929 MB / 461.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007397/0.1623, allocations: 0.7248 MB / 462.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.1631, allocations: 0.8353 MB / 463.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.1658, allocations: 2.457 MB / 465.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1658, allocations: 0 / 465.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1659, allocations: 0 / 465.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.1659, allocations: 0 / 465.9 MB, free: 14.09 MB / 350.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.003763/0.1697, allocations: 2.007 MB / 467.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1697, allocations: 15.89 kB / 467.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.1708, allocations: 266.5 kB / 468.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.1727, allocations: 1.118 MB / 469.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.1729, allocations: 106.6 kB / 469.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1731, allocations: 120 kB / 469.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.1786, allocations: 2.984 MB / 472.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.1787, allocations: 15.94 kB / 472.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.1788, allocations: 55.97 kB / 472.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006734/0.1795, allocations: 430 kB / 473 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.1842, allocations: 2.167 MB / 475.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.1973, allocations: 10.73 MB / 485.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.2014, allocations: 1.227 MB / 487.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.2021, allocations: 411.3 kB / 487.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004174/0.2063, allocations: 2.997 MB / 490.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.2063, allocations: 39 kB / 490.5 MB, free: 4.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.575e-06/0.2063, allocations: 3.938 kB / 490.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.0125/0.2188, allocations: 3.768 MB / 494.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.219, allocations: 85.66 kB / 494.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.2207, allocations: 1.202 MB / 495.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.2208, allocations: 33.7 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007431/0.2215, allocations: 0.9395 MB / 496.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.2217, allocations: 217.2 kB / 496.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.2221, allocations: 319.1 kB / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2223, allocations: 305.1 kB / 497.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.2229, allocations: 415.7 kB / 497.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.2243, allocations: 1.258 MB / 499 MB, free: 11.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.2265, allocations: 1.81 MB / 0.4891 GB, free: 9.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.2265, allocations: 8 kB / 0.4891 GB, free: 9.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002937/0.2295, allocations: 1.738 MB / 0.4908 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.2295, allocations: 16 kB / 0.4908 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/0.2296, allocations: 32 kB / 0.4909 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.2298, allocations: 80.83 kB / 0.4909 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.2309, allocations: 363.3 kB / 0.4913 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.2328, allocations: 1.877 MB / 0.4931 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.2338, allocations: 72.05 kB / 0.4932 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/0.2339, allocations: 84 kB / 0.4933 GB, free: 4.824 MB / 382.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 (194): * Single equations (assignments): 193 * 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.000968/0.2349, allocations: 0.6477 MB / 0.4939 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.235, allocations: 114.5 kB / 0.494 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2363, allocations: 0.7146 MB / 0.4947 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2363, allocations: 11.94 kB / 0.4947 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2363, allocations: 0 / 0.4947 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2363, allocations: 3.984 kB / 0.4947 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/0.2397, allocations: 2.235 MB / 0.4969 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.2397, allocations: 8.031 kB / 0.4969 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.2401, allocations: 99.83 kB / 0.497 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.2403, allocations: 64.8 kB / 0.4971 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.2404, allocations: 19.94 kB / 0.4971 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.2422, allocations: 1.936 MB / 0.499 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.2423, allocations: 11.88 kB / 0.499 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.2438, allocations: 1.095 MB / 0.5001 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.2442, allocations: 215.7 kB / 0.5003 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.2444, allocations: 19.98 kB / 0.5003 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2447, allocations: 23.98 kB / 0.5003 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.2448, allocations: 47.89 kB / 0.5004 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.2449, allocations: 24.06 kB / 0.5004 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.246, allocations: 0.7677 MB / 0.5011 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.246, allocations: 0 / 0.5011 GB, free: 12.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001496/0.2475, allocations: 304 kB / 0.5014 GB, free: 12.12 MB / 398.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.0002491/0.2478, allocations: 123.2 kB / 0.5015 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.25, allocations: 1.202 MB / 0.5027 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.25, allocations: 4.188 kB / 0.5027 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.2506, allocations: 410.6 kB / 0.5031 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.2518, allocations: 193.5 kB / 0.5033 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.257, allocations: 3.005 MB / 0.5062 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.2582, allocations: 1.447 MB / 0.5076 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.2585, allocations: 87.38 kB / 0.5077 GB, free: 5.512 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2585, allocations: 0 / 0.5077 GB, free: 5.512 MB / 398.1 MB Notification: Performance of Templates: time 0.2402/0.4987, allocations: 22.43 MB / 0.5296 GB, free: 90.4 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) 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) Reference file matches