Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009994, allocations: 102.6 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3323/0.3323, allocations: 44.13 MB / 386.1 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 59.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3183, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.02573/0.3441, allocations: 38.49 MB / 0.544 GB, free: 10.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.3588, allocations: 7.823 MB / 0.5516 GB, free: 5.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007235/0.366, allocations: 159.8 kB / 0.5518 GB, free: 5.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.3702, allocations: 2.336 MB / 0.554 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.3735, allocations: 1.153 MB / 0.5552 GB, free: 3.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3747, allocations: 466 kB / 0.5556 GB, free: 3.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005126/0.3799, allocations: 4.352 MB / 0.5599 GB, free: 2.277 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.384, allocations: 2.99 MB / 0.5628 GB, free: 1.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.386, allocations: 1.124 MB / 0.5639 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.3891, allocations: 1.83 MB / 0.5657 GB, free: 24 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007578/0.3899, allocations: 213 kB / 0.5659 GB, free: 24 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.3921, allocations: 0.9753 MB / 0.5668 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.3941, allocations: 1.559 MB / 0.5684 GB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.3966, allocations: 1.908 MB / 0.5702 GB, free: 13.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007/0.4036, allocations: 6 MB / 0.5761 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4036, allocations: 0 / 0.5761 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4036, allocations: 0 / 0.5761 GB, free: 8.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002022/0.4038, allocations: 0 / 0.5761 GB, free: 8.562 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.008101/0.4119, allocations: 4.253 MB / 0.5802 GB, free: 4.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.412, allocations: 11.97 kB / 0.5802 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005619/0.4176, allocations: 1.805 MB / 0.582 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.4211, allocations: 1.747 MB / 0.5837 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.4213, allocations: 229.7 kB / 0.5839 GB, free: 404 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006087/0.4219, allocations: 303.7 kB / 0.5842 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.4411, allocations: 10.62 MB / 0.5946 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.675e-05/0.4412, allocations: 39.59 kB / 0.5946 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.4416, allocations: 139.9 kB / 0.5948 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003382/0.445, allocations: 2.048 MB / 0.5968 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.4636, allocations: 9.328 MB / 0.6059 GB, free: 9.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04295/0.5066, allocations: 38.01 MB / 0.643 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.5167, allocations: 4.174 MB / 0.6471 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002669/0.5194, allocations: 2.306 MB / 0.6493 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008369/0.5278, allocations: 6.025 MB / 0.6552 GB, free: 5.305 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.5279, allocations: 51.88 kB / 0.6553 GB, free: 5.246 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 3.607e-06/0.5279, allocations: 0 / 0.6553 GB, free: 5.246 MB / 474.7 MB Notification: Performance of matching and sorting (n=210): time 0.2542/0.782, allocations: 21.92 MB / 0.6767 GB, free: 132 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.7821, allocations: 154.8 kB / 0.6768 GB, free: 131.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.7863, allocations: 3.389 MB / 0.6801 GB, free: 130.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003706/0.7867, allocations: 51.67 kB / 0.6802 GB, free: 130.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.788, allocations: 2.8 MB / 0.6829 GB, free: 129.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006696/0.7887, allocations: 0.802 MB / 0.6837 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.79, allocations: 1.187 MB / 0.6848 GB, free: 127.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.7901, allocations: 307.1 kB / 0.6851 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/0.793, allocations: 2.325 MB / 0.6874 GB, free: 126.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/0.7967, allocations: 5.789 MB / 0.6931 GB, free: 121.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007527/0.8043, allocations: 8.808 MB / 0.7017 GB, free: 114.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/0.8044, allocations: 36.25 kB / 0.7017 GB, free: 114.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01293/0.8174, allocations: 8.668 MB / 0.7102 GB, free: 110.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.8175, allocations: 56.78 kB / 0.7102 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/0.8176, allocations: 121.4 kB / 0.7103 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/0.8202, allocations: 1.041 MB / 0.7113 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/0.8246, allocations: 1.38 MB / 0.7127 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.8293, allocations: 5.404 MB / 0.718 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.8334, allocations: 329 kB / 0.7183 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008727/0.8343, allocations: 366.2 kB / 0.7186 GB, free: 106.5 MB / 490.7 MB 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.003158/0.8374, allocations: 1.938 MB / 0.7205 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/0.8381, allocations: 312.8 kB / 0.7208 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006717/0.8448, allocations: 3.938 MB / 0.7247 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.8448, allocations: 22.53 kB / 0.7247 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.8449, allocations: 2.219 kB / 0.7247 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.8449, allocations: 12.22 kB / 0.7247 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8591, allocations: 8.888 MB / 0.7334 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.8591, allocations: 0 / 0.7334 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.8608, allocations: 358.5 kB / 0.7337 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/0.863, allocations: 0.8723 MB / 0.7346 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.8632, allocations: 37.03 kB / 0.7346 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.8667, allocations: 4.743 MB / 0.7393 GB, free: 96.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8667, allocations: 0 / 0.7393 GB, free: 96.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06043/0.9272, allocations: 42.79 MB / 0.781 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.9279, allocations: 360.9 kB / 0.7814 GB, free: 55.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/0.9284, allocations: 32 kB / 0.7814 GB, free: 55.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.9299, allocations: 123.8 kB / 0.7815 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.9302, allocations: 121.1 kB / 0.7816 GB, free: 55.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.9304, allocations: 52 kB / 0.7817 GB, free: 54.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00243/0.9328, allocations: 2.081 MB / 0.7837 GB, free: 52.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9328, allocations: 0 / 0.7837 GB, free: 52.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005343/0.9382, allocations: 1.29 MB / 0.785 GB, free: 51.63 MB / 490.7 MB 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.0004831/0.9387, allocations: 181.8 kB / 0.7852 GB, free: 51.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008433/0.9471, allocations: 6.12 MB / 0.7911 GB, free: 45.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9472, allocations: 4 kB / 0.7911 GB, free: 45.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003678/0.9509, allocations: 2.463 MB / 0.7935 GB, free: 42.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/0.9538, allocations: 340.7 kB / 0.7939 GB, free: 42.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.973, allocations: 13.42 MB / 0.807 GB, free: 28.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.976, allocations: 3.091 MB / 0.81 GB, free: 25.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004136/0.9802, allocations: 1.92 MB / 0.8119 GB, free: 23.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008884/0.9811, allocations: 251.4 kB / 0.8121 GB, free: 23.6 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9811, allocations: 0 / 0.8121 GB, free: 23.6 MB / 490.7 MB Notification: Performance of Templates: time 0.07398/1.055, allocations: 49.68 MB / 0.8606 GB, free: 6.098 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches