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/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 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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 110.7 kB / 17.09 MB, free: 5.984 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.00111/0.00111, allocations: 194.2 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2055/0.2055, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01605/0.1614, allocations: 10.58 MB / 0.4989 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009527/0.171, allocations: 3.241 MB / 0.502 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.1741, allocations: 55.88 kB / 0.5021 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006153/0.1803, allocations: 2.367 MB / 0.5044 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.185, allocations: 1.256 MB / 0.5056 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.1871, allocations: 0.5146 MB / 0.5061 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005648/0.1928, allocations: 2.983 MB / 0.5091 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005235/0.198, allocations: 3.025 MB / 0.512 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.2008, allocations: 1.289 MB / 0.5133 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.2045, allocations: 1.729 MB / 0.515 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.2058, allocations: 292 kB / 0.5152 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.209, allocations: 0.9792 MB / 0.5162 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00252/0.2115, allocations: 1.609 MB / 0.5178 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.2152, allocations: 1.984 MB / 0.5197 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009823/0.2251, allocations: 6.275 MB / 0.5258 GB, free: 5.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2251, allocations: 0 / 0.5258 GB, free: 5.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2251, allocations: 0 / 0.5258 GB, free: 5.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002589/0.2254, allocations: 0 / 0.5258 GB, free: 5.453 MB / 414.1 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.01511/0.2405, allocations: 4.261 MB / 0.53 GB, free: 1.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.146e-05/0.2406, allocations: 11.89 kB / 0.53 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2602/0.5008, allocations: 1.813 MB / 0.5318 GB, free: 21.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004177/0.505, allocations: 1.773 MB / 0.5335 GB, free: 21.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.5052, allocations: 231 kB / 0.5337 GB, free: 21.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005475/0.5058, allocations: 303.8 kB / 0.534 GB, free: 21.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.5253, allocations: 10.63 MB / 0.5444 GB, free: 19.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.5254, allocations: 38.95 kB / 0.5444 GB, free: 19.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.5258, allocations: 144.8 kB / 0.5446 GB, free: 19.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003889/0.5297, allocations: 2.046 MB / 0.5466 GB, free: 19.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.5487, allocations: 9.325 MB / 0.5557 GB, free: 17.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03953/0.5882, allocations: 37.83 MB / 0.5926 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.599, allocations: 4.17 MB / 0.5967 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.6016, allocations: 2.313 MB / 0.5989 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008588/0.6102, allocations: 6.018 MB / 0.6048 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.6102, allocations: 48.69 kB / 0.6049 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.258e-06/0.6103, allocations: 4 kB / 0.6049 GB, free: 0.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06465/0.6749, allocations: 21.95 MB / 0.6263 GB, free: 10.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.675, allocations: 149.8 kB / 0.6264 GB, free: 10.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.6804, allocations: 3.386 MB / 0.6298 GB, free: 7.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.6807, allocations: 53.7 kB / 0.6298 GB, free: 7.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.6827, allocations: 2.809 MB / 0.6325 GB, free: 4.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008187/0.6835, allocations: 0.7859 MB / 0.6333 GB, free: 3.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/0.6855, allocations: 1.193 MB / 0.6345 GB, free: 2.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6856, allocations: 310.8 kB / 0.6348 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/0.6892, allocations: 2.335 MB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006272/0.6954, allocations: 5.782 MB / 0.6427 GB, free: 8.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.7056, allocations: 8.8 MB / 0.6513 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.936e-05/0.7058, allocations: 40 kB / 0.6513 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0148/0.7206, allocations: 8.669 MB / 0.6598 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-05/0.7207, allocations: 64 kB / 0.6599 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/0.7209, allocations: 120 kB / 0.66 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/0.7237, allocations: 1.041 MB / 0.661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/0.7283, allocations: 1.372 MB / 0.6623 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.7343, allocations: 5.821 MB / 0.668 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/0.7386, allocations: 323.8 kB / 0.6683 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008716/0.7395, allocations: 372 kB / 0.6687 GB, free: 11.97 MB / 0.5137 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.003357/0.7429, allocations: 1.931 MB / 0.6706 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006792/0.7436, allocations: 312 kB / 0.6709 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00751/0.7511, allocations: 3.957 MB / 0.6747 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.7511, allocations: 7.969 kB / 0.6747 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7512, allocations: 4 kB / 0.6747 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/0.7528, allocations: 0.6765 MB / 0.6754 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006712/0.7535, allocations: 39.98 kB / 0.6754 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.7553, allocations: 111.6 kB / 0.6755 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003571/0.7556, allocations: 129.1 kB / 0.6757 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00843/0.7641, allocations: 4.501 MB / 0.6801 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008212/0.7723, allocations: 6.185 MB / 0.6861 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002101/0.7744, allocations: 1.658 MB / 0.6877 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003662/0.7781, allocations: 2.085 MB / 0.6898 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of Backend: time 4.41e-07/0.7781, allocations: 0 / 0.6898 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.7887, allocations: 4.862 MB / 0.6945 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01647/0.8052, allocations: 8.496 MB / 0.7028 GB, free: 8.926 MB / 0.545 GB Notification: Performance of Templates: time 0.08117/0.8864, allocations: 45.55 MB / 0.7473 GB, free: 11.45 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches