Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009025/0.0009022, allocations: 107.7 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3091/0.3091, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009706/0.0009706, allocations: 47.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1152, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2371/0.3523, allocations: 38.52 MB / 0.5132 GB, free: 36.68 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.3701, allocations: 7.858 MB / 0.5209 GB, free: 34.59 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009925/0.3801, allocations: 161.1 kB / 0.521 GB, free: 34.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00509/0.3852, allocations: 2.339 MB / 0.5233 GB, free: 33.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.3899, allocations: 1.153 MB / 0.5244 GB, free: 33.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3915, allocations: 475.6 kB / 0.5249 GB, free: 33.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.3961, allocations: 4.365 MB / 0.5292 GB, free: 31.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.3991, allocations: 3.001 MB / 0.5321 GB, free: 30.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.4004, allocations: 1.135 MB / 0.5332 GB, free: 30.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.4021, allocations: 1.84 MB / 0.535 GB, free: 29.97 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.4025, allocations: 212.4 kB / 0.5352 GB, free: 29.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.4041, allocations: 0.9653 MB / 0.5361 GB, free: 29.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.4051, allocations: 1.553 MB / 0.5377 GB, free: 29.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.4064, allocations: 1.917 MB / 0.5395 GB, free: 27.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005235/0.4116, allocations: 5.991 MB / 0.5454 GB, free: 25.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4116, allocations: 0 / 0.5454 GB, free: 25.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4117, allocations: 0 / 0.5454 GB, free: 25.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.4118, allocations: 0 / 0.5454 GB, free: 25.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.00797/0.4198, allocations: 4.255 MB / 0.5495 GB, free: 23.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4199, allocations: 10.59 kB / 0.5495 GB, free: 23.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/0.4256, allocations: 1.812 MB / 0.5513 GB, free: 23.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.429, allocations: 1.748 MB / 0.553 GB, free: 22.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4291, allocations: 235.3 kB / 0.5532 GB, free: 22.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004752/0.4296, allocations: 301.3 kB / 0.5535 GB, free: 22.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.4495, allocations: 10.62 MB / 0.5639 GB, free: 16.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.977e-05/0.4497, allocations: 38.56 kB / 0.5639 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.4501, allocations: 146.6 kB / 0.5641 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002956/0.453, allocations: 2.041 MB / 0.5661 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.4695, allocations: 9.321 MB / 0.5752 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04083/0.5104, allocations: 38.02 MB / 0.6123 GB, free: 2.398 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009922/0.5203, allocations: 4.162 MB / 0.6164 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.5229, allocations: 2.312 MB / 0.6186 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008131/0.5311, allocations: 6.018 MB / 0.6245 GB, free: 5.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.5311, allocations: 55.86 kB / 0.6246 GB, free: 5.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 4.188e-06/0.5311, allocations: 0 / 0.6246 GB, free: 5.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=210): time 0.05739/0.5885, allocations: 21.95 MB / 0.646 GB, free: 15.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.5887, allocations: 145.8 kB / 0.6461 GB, free: 15.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.5927, allocations: 3.394 MB / 0.6495 GB, free: 11.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.5929, allocations: 53.7 kB / 0.6495 GB, free: 11.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.5944, allocations: 2.79 MB / 0.6522 GB, free: 8.906 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/0.5951, allocations: 0.8013 MB / 0.653 GB, free: 8.109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.5965, allocations: 1.193 MB / 0.6542 GB, free: 6.906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.5966, allocations: 305.1 kB / 0.6545 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.5995, allocations: 2.331 MB / 0.6567 GB, free: 4.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/0.6044, allocations: 5.785 MB / 0.6624 GB, free: 12.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009735/0.6142, allocations: 8.809 MB / 0.671 GB, free: 2.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.157e-05/0.6143, allocations: 36 kB / 0.671 GB, free: 2.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01454/0.6289, allocations: 8.679 MB / 0.6795 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.629, allocations: 56 kB / 0.6796 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.6291, allocations: 124 kB / 0.6797 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.6317, allocations: 1.034 MB / 0.6807 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/0.6359, allocations: 1.38 MB / 0.682 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/0.6411, allocations: 5.421 MB / 0.6873 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.645, allocations: 319.5 kB / 0.6876 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/0.6455, allocations: 360 kB / 0.688 GB, free: 0.5742 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1962/0.8417, allocations: 1.937 MB / 0.6899 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007033/0.8425, allocations: 315.8 kB / 0.6902 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/0.8496, allocations: 3.943 MB / 0.694 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-05/0.8497, allocations: 22.61 kB / 0.694 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.8497, allocations: 4.125 kB / 0.694 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.8497, allocations: 14.19 kB / 0.6941 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.8636, allocations: 8.885 MB / 0.7027 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.8636, allocations: 3.031 kB / 0.7027 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.8651, allocations: 354.2 kB / 0.7031 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.8673, allocations: 0.864 MB / 0.7039 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.8675, allocations: 40.53 kB / 0.704 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.8709, allocations: 4.749 MB / 0.7086 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8709, allocations: 3.219 kB / 0.7086 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06844/0.9393, allocations: 43.14 MB / 0.7507 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.9407, allocations: 0.6718 MB / 0.7514 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.941, allocations: 40.06 kB / 0.7514 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.9424, allocations: 114.8 kB / 0.7515 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/0.9427, allocations: 118.9 kB / 0.7517 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.9428, allocations: 59.98 kB / 0.7517 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002448/0.9453, allocations: 2.083 MB / 0.7537 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9453, allocations: 0 / 0.7537 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004405/0.9497, allocations: 1.294 MB / 0.755 GB, free: 124.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003859/0.9501, allocations: 189.2 kB / 0.7552 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007416/0.9575, allocations: 6.119 MB / 0.7612 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9576, allocations: 0 / 0.7612 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003205/0.9608, allocations: 2.469 MB / 0.7636 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.9629, allocations: 344 kB / 0.7639 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/0.9821, allocations: 13.43 MB / 0.777 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004555/0.9867, allocations: 3.091 MB / 0.78 GB, free: 98.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005342/0.992, allocations: 1.916 MB / 0.7819 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.9934, allocations: 248.3 kB / 0.7821 GB, free: 96.13 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.9934, allocations: 0 / 0.7821 GB, free: 96.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.06796/1.061, allocations: 49.65 MB / 0.8306 GB, free: 46.57 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches