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.001096/0.001096, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00116/0.00116, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2116/0.2116, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 67.84 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4156, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01114/0.4268, allocations: 8.67 MB / 0.5274 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.4353, allocations: 3.451 MB / 0.5308 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.4374, allocations: 45.06 kB / 0.5308 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.4403, allocations: 1.355 MB / 0.5321 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.4432, allocations: 0.9411 MB / 0.533 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.4447, allocations: 0.5163 MB / 0.5335 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002979/0.4477, allocations: 1.671 MB / 0.5352 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.4505, allocations: 1.678 MB / 0.5368 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.4521, allocations: 0.656 MB / 0.5375 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.4541, allocations: 0.8913 MB / 0.5383 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.4547, allocations: 137.5 kB / 0.5385 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.4564, allocations: 0.5926 MB / 0.539 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009579/0.4574, allocations: 0.726 MB / 0.5397 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.4585, allocations: 0.8318 MB / 0.5406 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.4619, allocations: 2.505 MB / 0.543 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4619, allocations: 0 / 0.543 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4619, allocations: 0 / 0.543 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.153e-05/0.462, allocations: 0 / 0.543 GB, free: 3.305 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.003849/0.4658, allocations: 2.054 MB / 0.545 GB, free: 1.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4659, allocations: 8.031 kB / 0.545 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.467, allocations: 275.6 kB / 0.5453 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4688, allocations: 1.107 MB / 0.5464 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.4689, allocations: 98.58 kB / 0.5465 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.4691, allocations: 124 kB / 0.5466 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/0.4743, allocations: 2.984 MB / 0.5495 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.4743, allocations: 15.89 kB / 0.5495 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.4745, allocations: 55.97 kB / 0.5496 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005823/0.4751, allocations: 434 kB / 0.55 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/0.4795, allocations: 2.163 MB / 0.5521 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.4938, allocations: 10.7 MB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/0.4984, allocations: 1.225 MB / 0.5637 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.4992, allocations: 411.2 kB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005783/0.505, allocations: 3.009 MB / 0.5671 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.5052, allocations: 39 kB / 0.5671 GB, free: 9.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 8.205e-06/0.5052, allocations: 0 / 0.5671 GB, free: 9.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01292/0.5181, allocations: 3.782 MB / 0.5708 GB, free: 5.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.5182, allocations: 85.67 kB / 0.5709 GB, free: 5.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/0.5207, allocations: 1.194 MB / 0.572 GB, free: 4.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.5208, allocations: 33.7 kB / 0.5721 GB, free: 4.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/0.5217, allocations: 0.9702 MB / 0.573 GB, free: 3.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.5219, allocations: 230.2 kB / 0.5732 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/0.5224, allocations: 315.3 kB / 0.5735 GB, free: 2.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5226, allocations: 301.1 kB / 0.5738 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.5233, allocations: 427.7 kB / 0.5742 GB, free: 2.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.5247, allocations: 1.254 MB / 0.5755 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.527, allocations: 1.803 MB / 0.5772 GB, free: 14.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.052e-05/0.527, allocations: 8 kB / 0.5772 GB, free: 14.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002931/0.5299, allocations: 1.734 MB / 0.5789 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.53, allocations: 16 kB / 0.5789 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.53, allocations: 32.84 kB / 0.579 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.5303, allocations: 88.77 kB / 0.579 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.5313, allocations: 359.4 kB / 0.5794 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.533, allocations: 1.888 MB / 0.5812 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/0.534, allocations: 63.98 kB / 0.5813 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5341, allocations: 88 kB / 0.5814 GB, free: 9.973 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.001029/0.5351, allocations: 0.6401 MB / 0.582 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.5354, allocations: 119.2 kB / 0.5821 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.5366, allocations: 0.7106 MB / 0.5828 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/0.5366, allocations: 8 kB / 0.5828 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.5366, allocations: 3.938 kB / 0.5828 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5366, allocations: 7.922 kB / 0.5828 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/0.5404, allocations: 2.22 MB / 0.585 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.5404, allocations: 4 kB / 0.585 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.5408, allocations: 99.92 kB / 0.5851 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.541, allocations: 76.77 kB / 0.5852 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.541, allocations: 15.94 kB / 0.5852 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.5427, allocations: 1.936 MB / 0.5871 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.5428, allocations: 7.938 kB / 0.5871 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.5443, allocations: 1.109 MB / 0.5882 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.5446, allocations: 184.3 kB / 0.5883 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.5448, allocations: 16 kB / 0.5884 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.5452, allocations: 28.05 kB / 0.5884 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.5453, allocations: 51.81 kB / 0.5884 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.5453, allocations: 24.06 kB / 0.5885 GB, free: 2.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.5465, allocations: 0.7558 MB / 0.5892 GB, free: 1.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5466, allocations: 0 / 0.5892 GB, free: 1.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001539/0.5481, allocations: 303.9 kB / 0.5895 GB, free: 1.316 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.0002778/0.5484, allocations: 123.1 kB / 0.5896 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.5503, allocations: 1.104 MB / 0.5907 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5503, allocations: 0 / 0.5907 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.5509, allocations: 416.1 kB / 0.5911 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5519, allocations: 188.4 kB / 0.5913 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.557, allocations: 2.855 MB / 0.594 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.5586, allocations: 1.455 MB / 0.5955 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.5597, allocations: 409.7 kB / 0.5959 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.5599, allocations: 79.38 kB / 0.5959 GB, free: 10.56 MB / 462.1 MB Notification: Performance of SimCode: time 1.452e-06/0.5599, allocations: 0 / 0.5959 GB, free: 10.56 MB / 462.1 MB Notification: Performance of Templates: time 0.0245/0.5844, allocations: 10.8 MB / 0.6065 GB, free: 15.82 MB / 478.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