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.001315/0.001315, allocations: 104.1 kB / 18.45 MB, free: 4.625 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.001383/0.001383, allocations: 184.2 kB / 19.37 MB, free: 3.707 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.271/1.271, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.1923/0.1923, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009461/0.3489, allocations: 8.68 MB / 0.528 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007567/0.3565, allocations: 3.442 MB / 0.5314 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.3584, allocations: 45.97 kB / 0.5314 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.3616, allocations: 1.366 MB / 0.5328 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.3647, allocations: 0.9412 MB / 0.5337 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.3661, allocations: 0.5161 MB / 0.5342 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.3687, allocations: 1.675 MB / 0.5358 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.3712, allocations: 1.673 MB / 0.5375 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.3728, allocations: 0.6552 MB / 0.5381 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.3746, allocations: 0.8927 MB / 0.539 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005317/0.3752, allocations: 137.8 kB / 0.5391 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.3768, allocations: 0.5983 MB / 0.5397 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3779, allocations: 0.7323 MB / 0.5404 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.3796, allocations: 0.8311 MB / 0.5412 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.3834, allocations: 2.505 MB / 0.5437 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3834, allocations: 0 / 0.5437 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3834, allocations: 0 / 0.5437 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001111/0.3836, allocations: 0 / 0.5437 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.004917/0.3885, allocations: 2.005 MB / 0.5456 GB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/0.3886, allocations: 12.03 kB / 0.5456 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3897, allocations: 262.6 kB / 0.5459 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.3915, allocations: 1.098 MB / 0.547 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.3915, allocations: 94.58 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.3917, allocations: 124 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/0.397, allocations: 2.988 MB / 0.5501 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.3971, allocations: 11.88 kB / 0.5501 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.3972, allocations: 55.97 kB / 0.5502 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006281/0.3979, allocations: 438 kB / 0.5506 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.4026, allocations: 2.167 MB / 0.5527 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.4161, allocations: 10.68 MB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/0.4201, allocations: 1.23 MB / 0.5643 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.4208, allocations: 403.3 kB / 0.5647 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003822/0.4246, allocations: 2.997 MB / 0.5676 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4247, allocations: 54.86 kB / 0.5677 GB, free: 9.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 3.437e-06/0.4247, allocations: 0 / 0.5677 GB, free: 9.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01204/0.4367, allocations: 3.741 MB / 0.5713 GB, free: 5.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.4368, allocations: 85.67 kB / 0.5714 GB, free: 5.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.4388, allocations: 1.194 MB / 0.5726 GB, free: 4.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.4389, allocations: 37.7 kB / 0.5726 GB, free: 4.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.4396, allocations: 0.9395 MB / 0.5735 GB, free: 3.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.4398, allocations: 217.1 kB / 0.5738 GB, free: 3.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.4402, allocations: 315.1 kB / 0.5741 GB, free: 3.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.4403, allocations: 301.1 kB / 0.5743 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.441, allocations: 419.7 kB / 0.5747 GB, free: 2.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.4422, allocations: 1.258 MB / 0.576 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.4441, allocations: 1.802 MB / 0.5777 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.4442, allocations: 8 kB / 0.5777 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002799/0.447, allocations: 1.734 MB / 0.5794 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.447, allocations: 16 kB / 0.5794 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.4471, allocations: 28 kB / 0.5795 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.4473, allocations: 88.81 kB / 0.5796 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4484, allocations: 355.3 kB / 0.5799 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.45, allocations: 1.873 MB / 0.5817 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/0.451, allocations: 71.95 kB / 0.5818 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.4512, allocations: 92 kB / 0.5819 GB, free: 10.14 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.001035/0.4522, allocations: 0.6383 MB / 0.5825 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.4524, allocations: 114.6 kB / 0.5826 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.4537, allocations: 0.7107 MB / 0.5833 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4537, allocations: 4 kB / 0.5833 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4537, allocations: 7.938 kB / 0.5833 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4537, allocations: 3.984 kB / 0.5833 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.458, allocations: 2.231 MB / 0.5855 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.458, allocations: 8 kB / 0.5855 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.4584, allocations: 91.89 kB / 0.5856 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.4586, allocations: 61.33 kB / 0.5857 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.4586, allocations: 27.92 kB / 0.5857 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.4602, allocations: 1.943 MB / 0.5876 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4602, allocations: 7.938 kB / 0.5876 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4617, allocations: 1.096 MB / 0.5887 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.4621, allocations: 179.6 kB / 0.5888 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.4622, allocations: 19.98 kB / 0.5888 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.4627, allocations: 24.05 kB / 0.5889 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.4628, allocations: 47.83 kB / 0.5889 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4628, allocations: 20 kB / 0.5889 GB, free: 2.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.4639, allocations: 0.7597 MB / 0.5897 GB, free: 1.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4639, allocations: 0 / 0.5897 GB, free: 1.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001486/0.4654, allocations: 304 kB / 0.59 GB, free: 1.504 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.0002437/0.4657, allocations: 127.2 kB / 0.5901 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.4676, allocations: 1.109 MB / 0.5912 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4676, allocations: 0 / 0.5912 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.4681, allocations: 402.1 kB / 0.5916 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4692, allocations: 193.7 kB / 0.5917 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.4746, allocations: 2.95 MB / 0.5946 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.476, allocations: 1.454 MB / 0.596 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.4762, allocations: 87.44 kB / 0.5961 GB, free: 11.05 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4763, allocations: 0 / 0.5961 GB, free: 11.05 MB / 462.1 MB Notification: Performance of Templates: time 0.03139/0.5076, allocations: 22.52 MB / 0.6181 GB, free: 4.551 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/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