Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_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.001051/0.001051, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.00113/0.00113, allocations: 180.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4637, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01271/0.4764, allocations: 8.69 MB / 0.5274 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4866, allocations: 3.451 MB / 0.5308 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.4892, allocations: 46 kB / 0.5308 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.4923, allocations: 1.388 MB / 0.5322 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.4955, allocations: 0.9585 MB / 0.5331 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.4968, allocations: 0.5125 MB / 0.5336 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.4997, allocations: 1.672 MB / 0.5352 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.5014, allocations: 1.401 MB / 0.5366 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.5026, allocations: 0.6632 MB / 0.5373 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5042, allocations: 0.8949 MB / 0.5381 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000314/0.5045, allocations: 139.1 kB / 0.5383 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.506, allocations: 0.5936 MB / 0.5388 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009169/0.5069, allocations: 0.7476 MB / 0.5396 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.5079, allocations: 0.8319 MB / 0.5404 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.5116, allocations: 2.503 MB / 0.5428 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5116, allocations: 5.422 kB / 0.5428 GB, free: 3.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5116, allocations: 0 / 0.5428 GB, free: 3.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.629e-05/0.5116, allocations: 0 / 0.5428 GB, free: 3.383 MB / 398.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.004545/0.5162, allocations: 2.051 MB / 0.5448 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5162, allocations: 11.97 kB / 0.5448 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5174, allocations: 275.6 kB / 0.5451 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.5197, allocations: 1.095 MB / 0.5462 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.5198, allocations: 98.58 kB / 0.5463 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.52, allocations: 128 kB / 0.5464 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/0.5258, allocations: 2.98 MB / 0.5493 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/0.5259, allocations: 15.89 kB / 0.5493 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.526, allocations: 59.97 kB / 0.5494 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006209/0.5266, allocations: 434 kB / 0.5498 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.5316, allocations: 2.163 MB / 0.5519 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.5458, allocations: 10.7 MB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.5496, allocations: 1.191 MB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.5502, allocations: 375.3 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004699/0.5549, allocations: 3.009 MB / 0.5668 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.5549, allocations: 35 kB / 0.5668 GB, free: 10.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.755e-06/0.5549, allocations: 4 kB / 0.5669 GB, free: 10.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01221/0.5671, allocations: 3.779 MB / 0.5705 GB, free: 6.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.5672, allocations: 81.67 kB / 0.5706 GB, free: 6.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.5689, allocations: 1.19 MB / 0.5718 GB, free: 4.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.569, allocations: 33.7 kB / 0.5718 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000772/0.5697, allocations: 0.9741 MB / 0.5728 GB, free: 3.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.5699, allocations: 226.2 kB / 0.573 GB, free: 3.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/0.5704, allocations: 315.3 kB / 0.5733 GB, free: 3.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5705, allocations: 313.1 kB / 0.5736 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.5712, allocations: 415.7 kB / 0.574 GB, free: 2.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.5726, allocations: 1.254 MB / 0.5752 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.575, allocations: 1.803 MB / 0.577 GB, free: 14.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.575, allocations: 8 kB / 0.577 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002847/0.5778, allocations: 1.739 MB / 0.5787 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.5779, allocations: 16 kB / 0.5787 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.212e-05/0.5779, allocations: 36.12 kB / 0.5787 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.5782, allocations: 84.83 kB / 0.5788 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5793, allocations: 359.3 kB / 0.5791 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5811, allocations: 1.877 MB / 0.581 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.5823, allocations: 67.98 kB / 0.581 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.5824, allocations: 87.98 kB / 0.5811 GB, free: 10.26 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 (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.001271/0.5837, allocations: 0.6461 MB / 0.5818 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.5839, allocations: 123.2 kB / 0.5819 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.5851, allocations: 0.7068 MB / 0.5826 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5851, allocations: 4 kB / 0.5826 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5851, allocations: 0 / 0.5826 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.5851, allocations: 7.984 kB / 0.5826 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/0.5888, allocations: 2.22 MB / 0.5847 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5888, allocations: 4 kB / 0.5847 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.5892, allocations: 99.83 kB / 0.5848 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.5894, allocations: 64.81 kB / 0.5849 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.5894, allocations: 15.94 kB / 0.5849 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.5912, allocations: 1.948 MB / 0.5868 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.5912, allocations: 11.88 kB / 0.5868 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5929, allocations: 1.113 MB / 0.5879 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.5932, allocations: 184.3 kB / 0.5881 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.5933, allocations: 16 kB / 0.5881 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.5937, allocations: 19.98 kB / 0.5881 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.5938, allocations: 63.81 kB / 0.5882 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.5938, allocations: 16 kB / 0.5882 GB, free: 2.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.595, allocations: 0.7558 MB / 0.5889 GB, free: 1.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.595, allocations: 0 / 0.5889 GB, free: 1.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001576/0.5965, allocations: 307.9 kB / 0.5892 GB, free: 1.598 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.000333/0.5969, allocations: 131 kB / 0.5894 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.5987, allocations: 1.062 MB / 0.5904 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5987, allocations: 0 / 0.5904 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.5993, allocations: 395 kB / 0.5908 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/0.6003, allocations: 184.2 kB / 0.5909 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.6057, allocations: 2.855 MB / 0.5937 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.607, allocations: 1.451 MB / 0.5952 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.608, allocations: 409.7 kB / 0.5955 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.6082, allocations: 79.44 kB / 0.5956 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.6082, allocations: 0 / 0.5956 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02394/0.6322, allocations: 10.92 MB / 0.6063 GB, free: 48 kB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches