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.001566/0.001566, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001943/0.001943, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2331/0.2331, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4893, allocations: 60.83 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01178/0.5011, allocations: 8.678 MB / 0.5274 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008718/0.5099, allocations: 3.441 MB / 0.5307 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.5117, allocations: 49.12 kB / 0.5308 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.5145, allocations: 1.371 MB / 0.5321 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.5175, allocations: 0.955 MB / 0.5331 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.5188, allocations: 0.5166 MB / 0.5336 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.5213, allocations: 1.679 MB / 0.5352 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.5234, allocations: 1.674 MB / 0.5368 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.5245, allocations: 0.6592 MB / 0.5375 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.5257, allocations: 0.8924 MB / 0.5383 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.526, allocations: 141.6 kB / 0.5385 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.5273, allocations: 0.5944 MB / 0.5391 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008433/0.5282, allocations: 0.7324 MB / 0.5398 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.5292, allocations: 0.8352 MB / 0.5406 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.5324, allocations: 2.495 MB / 0.543 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5325, allocations: 0 / 0.543 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5325, allocations: 0 / 0.543 GB, free: 3.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.5325, allocations: 3.984 kB / 0.543 GB, free: 3.281 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.003766/0.5363, allocations: 2.009 MB / 0.545 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5363, allocations: 8.031 kB / 0.545 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.5375, allocations: 262.6 kB / 0.5453 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.5393, allocations: 1.094 MB / 0.5463 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.5394, allocations: 98.5 kB / 0.5464 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.5396, allocations: 128 kB / 0.5465 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.5449, allocations: 2.976 MB / 0.5494 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/0.5449, allocations: 15.88 kB / 0.5495 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.5451, allocations: 55.97 kB / 0.5495 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006462/0.5457, allocations: 442 kB / 0.5499 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004541/0.5503, allocations: 2.163 MB / 0.552 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.5639, allocations: 10.68 MB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.5679, allocations: 1.23 MB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/0.5686, allocations: 407.3 kB / 0.5641 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003901/0.5725, allocations: 2.997 MB / 0.567 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.5726, allocations: 46.88 kB / 0.567 GB, free: 9.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.5726, allocations: 0 / 0.567 GB, free: 9.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01203/0.5846, allocations: 3.756 MB / 0.5707 GB, free: 5.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.5847, allocations: 81.67 kB / 0.5708 GB, free: 5.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.5864, allocations: 1.194 MB / 0.5719 GB, free: 4.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.5865, allocations: 33.7 kB / 0.572 GB, free: 4.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/0.5871, allocations: 0.9434 MB / 0.5729 GB, free: 3.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.5873, allocations: 221.1 kB / 0.5731 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.5877, allocations: 311.2 kB / 0.5734 GB, free: 3.125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5878, allocations: 301.1 kB / 0.5737 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.5884, allocations: 415.7 kB / 0.5741 GB, free: 2.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.5896, allocations: 1.254 MB / 0.5753 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.5916, allocations: 1.81 MB / 0.5771 GB, free: 14.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.5916, allocations: 8 kB / 0.5771 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002469/0.594, allocations: 1.73 MB / 0.5788 GB, free: 12.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.5941, allocations: 16 kB / 0.5788 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.5941, allocations: 32 kB / 0.5788 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.5944, allocations: 84.83 kB / 0.5789 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5954, allocations: 359.3 kB / 0.5793 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.597, allocations: 1.869 MB / 0.5811 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.5979, allocations: 75.95 kB / 0.5811 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.598, allocations: 87.98 kB / 0.5812 GB, free: 10.12 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.001082/0.5991, allocations: 0.644 MB / 0.5819 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.5993, allocations: 110.6 kB / 0.582 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.6004, allocations: 0.7184 MB / 0.5827 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6004, allocations: 8 kB / 0.5827 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6004, allocations: 0 / 0.5827 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.6004, allocations: 3.984 kB / 0.5827 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.6037, allocations: 2.223 MB / 0.5849 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6038, allocations: 4 kB / 0.5849 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.6041, allocations: 95.89 kB / 0.5849 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.6043, allocations: 69.3 kB / 0.585 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.6044, allocations: 15.94 kB / 0.585 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.606, allocations: 1.94 MB / 0.5869 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.606, allocations: 7.938 kB / 0.5869 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6074, allocations: 1.104 MB / 0.588 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.6076, allocations: 183.5 kB / 0.5882 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6078, allocations: 16 kB / 0.5882 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.6081, allocations: 28.05 kB / 0.5882 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.6082, allocations: 51.81 kB / 0.5883 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.6082, allocations: 16.06 kB / 0.5883 GB, free: 2.543 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.6093, allocations: 0.7558 MB / 0.589 GB, free: 1.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6093, allocations: 4 kB / 0.589 GB, free: 1.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001421/0.6107, allocations: 300 kB / 0.5893 GB, free: 1.484 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.0002495/0.611, allocations: 131.1 kB / 0.5894 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.6126, allocations: 1.105 MB / 0.5905 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6127, allocations: 0 / 0.5905 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.6132, allocations: 407.5 kB / 0.5909 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.6142, allocations: 191.8 kB / 0.5911 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.6185, allocations: 2.816 MB / 0.5938 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.6197, allocations: 1.458 MB / 0.5953 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008506/0.6205, allocations: 405.7 kB / 0.5957 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.6207, allocations: 83.44 kB / 0.5957 GB, free: 10.77 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6207, allocations: 0 / 0.5957 GB, free: 10.77 MB / 462.1 MB Notification: Performance of Templates: time 0.02059/0.6413, allocations: 10.8 MB / 0.6063 GB, free: 32 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