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.001227/0.001227, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.0013/0.0013, allocations: 188 kB / 19.34 MB, free: 3.641 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.447/1.447, allocations: 222.9 MB / 243 MB, free: 15.15 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.2032/0.2032, allocations: 44.17 MB / 337.4 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.64 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1411, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01093/0.152, allocations: 8.663 MB / 479.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007647/0.1597, allocations: 3.46 MB / 482.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.1613, allocations: 43.88 kB / 482.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.1641, allocations: 1.367 MB / 484.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.1672, allocations: 0.9292 MB / 485.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1686, allocations: 0.5264 MB / 485.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.1712, allocations: 1.675 MB / 487.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.1731, allocations: 1.659 MB / 489 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009897/0.1741, allocations: 0.6659 MB / 489.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1753, allocations: 0.8957 MB / 490.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.1755, allocations: 136 kB / 490.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1766, allocations: 0.5813 MB / 491.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007593/0.1774, allocations: 0.7286 MB / 492 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009761/0.1784, allocations: 0.8315 MB / 492.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.1819, allocations: 2.5 MB / 495.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.182, allocations: 0 / 495.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.182, allocations: 0 / 495.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.548e-05/0.182, allocations: 0 / 495.4 MB, free: 4.887 MB / 366.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.004216/0.1862, allocations: 2.005 MB / 497.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1863, allocations: 8.031 kB / 497.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.1874, allocations: 262.6 kB / 497.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.1899, allocations: 1.09 MB / 498.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.19, allocations: 102.6 kB / 498.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.1902, allocations: 120 kB / 498.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.1955, allocations: 2.988 MB / 0.4902 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.1956, allocations: 19.78 kB / 0.4902 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.1957, allocations: 51.97 kB / 0.4902 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005712/0.1963, allocations: 442 kB / 0.4907 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.2011, allocations: 2.16 MB / 0.4928 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.2184, allocations: 10.68 MB / 0.5032 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3213/0.5397, allocations: 1.225 MB / 0.5044 GB, free: 49.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009104/0.5407, allocations: 405.2 kB / 0.5048 GB, free: 49.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005328/0.546, allocations: 2.998 MB / 0.5077 GB, free: 47.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.5461, allocations: 44.53 kB / 0.5077 GB, free: 47.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 6.041e-06/0.5461, allocations: 0 / 0.5077 GB, free: 47.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01223/0.5584, allocations: 3.755 MB / 0.5114 GB, free: 46.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5585, allocations: 84.67 kB / 0.5115 GB, free: 46.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.5603, allocations: 1.186 MB / 0.5127 GB, free: 45.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.5603, allocations: 37.3 kB / 0.5127 GB, free: 45.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/0.5609, allocations: 0.9404 MB / 0.5136 GB, free: 45.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.5611, allocations: 218.9 kB / 0.5138 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/0.5615, allocations: 320.3 kB / 0.5141 GB, free: 44.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.5616, allocations: 307 kB / 0.5144 GB, free: 44.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007285/0.5624, allocations: 413.7 kB / 0.5148 GB, free: 44.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.5638, allocations: 1.257 MB / 0.516 GB, free: 43.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.566, allocations: 1.805 MB / 0.5178 GB, free: 41.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/0.566, allocations: 14.89 kB / 0.5178 GB, free: 41.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003369/0.5694, allocations: 1.723 MB / 0.5195 GB, free: 40.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5694, allocations: 17.94 kB / 0.5195 GB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/0.5695, allocations: 29.28 kB / 0.5195 GB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.5697, allocations: 91.62 kB / 0.5196 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5709, allocations: 360 kB / 0.52 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.5724, allocations: 1.875 MB / 0.5218 GB, free: 39.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5736, allocations: 73.52 kB / 0.5219 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.5737, allocations: 85.94 kB / 0.522 GB, free: 39.18 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.0009999/0.5747, allocations: 0.6393 MB / 0.5226 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.5749, allocations: 112.2 kB / 0.5227 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.5762, allocations: 0.7162 MB / 0.5234 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.5762, allocations: 5.375 kB / 0.5234 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5762, allocations: 1.375 kB / 0.5234 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.5762, allocations: 3.562 kB / 0.5234 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.5799, allocations: 2.233 MB / 0.5256 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5799, allocations: 3.906 kB / 0.5256 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.5802, allocations: 93.56 kB / 0.5257 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.5804, allocations: 71.7 kB / 0.5257 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.5805, allocations: 19.84 kB / 0.5258 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.5818, allocations: 1.93 MB / 0.5276 GB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.5818, allocations: 4.906 kB / 0.5276 GB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.5833, allocations: 1.098 MB / 0.5287 GB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.5836, allocations: 182.3 kB / 0.5289 GB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5837, allocations: 19.27 kB / 0.5289 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.584, allocations: 27.42 kB / 0.5289 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.5841, allocations: 41.97 kB / 0.529 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.5842, allocations: 19.97 kB / 0.529 GB, free: 34.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009163/0.5851, allocations: 0.7664 MB / 0.5297 GB, free: 34.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5851, allocations: 0 / 0.5297 GB, free: 34.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001551/0.5866, allocations: 302 kB / 0.53 GB, free: 34.35 MB / 382.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.0002194/0.5869, allocations: 130 kB / 0.5302 GB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.5886, allocations: 1.114 MB / 0.5312 GB, free: 33.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5886, allocations: 0 / 0.5312 GB, free: 33.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.5891, allocations: 407.6 kB / 0.5316 GB, free: 33.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.59, allocations: 183.5 kB / 0.5318 GB, free: 33.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.594, allocations: 2.809 MB / 0.5346 GB, free: 30.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/0.595, allocations: 1.448 MB / 0.536 GB, free: 28.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008427/0.5958, allocations: 415.2 kB / 0.5364 GB, free: 28.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.596, allocations: 79.44 kB / 0.5364 GB, free: 28.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.144e-06/0.596, allocations: 7.938 kB / 0.5364 GB, free: 28.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02054/0.6165, allocations: 10.43 MB / 0.5466 GB, free: 18.07 MB / 382.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/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