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.0009978/0.0009982, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.356/1.356, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000849/0.000849, allocations: 88.84 kB / 267.1 MB, free: 9.277 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.3454/0.3454, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.731e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 58.85 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.492, allocations: 106.3 MB / 0.5766 GB, free: 15.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4924, allocations: 81.48 kB / 0.5767 GB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1743/0.6666, allocations: 71.26 MB / 0.6463 GB, free: 1.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6667, allocations: 0 / 0.6463 GB, free: 1.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001951/0.6669, allocations: 76 kB / 0.6464 GB, free: 1 MB / 458.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.01111/0.678, allocations: 3.621 MB / 0.6499 GB, free: 13.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6781, allocations: 12.03 kB / 0.6499 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008719/0.6868, allocations: 2.062 MB / 0.6519 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.6929, allocations: 2.077 MB / 0.6539 GB, free: 9.105 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.6933, allocations: 308 kB / 0.6542 GB, free: 8.801 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.6954, allocations: 403.8 kB / 0.6546 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/0.7215, allocations: 11.04 MB / 0.6654 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/0.7217, allocations: 55.5 kB / 0.6655 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/0.7228, allocations: 195.9 kB / 0.6657 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.7244, allocations: 1.065 MB / 0.6667 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02043/0.7449, allocations: 9.372 MB / 0.6758 GB, free: 1.707 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3091/1.054, allocations: 45.88 MB / 0.7207 GB, free: 78.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00943/1.063, allocations: 4.237 MB / 0.7248 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/1.066, allocations: 2.288 MB / 0.727 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007208/1.073, allocations: 5.766 MB / 0.7327 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.073, allocations: 56.45 kB / 0.7327 GB, free: 75.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 4.91e-06/1.073, allocations: 3.938 kB / 0.7327 GB, free: 75.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.05565/1.129, allocations: 21.87 MB / 0.7541 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/1.129, allocations: 150 kB / 0.7542 GB, free: 72.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/1.134, allocations: 2.984 MB / 0.7571 GB, free: 72.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005522/1.134, allocations: 58.73 kB / 0.7572 GB, free: 72.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.136, allocations: 2.801 MB / 0.7599 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.137, allocations: 0.8354 MB / 0.7607 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.138, allocations: 119.4 kB / 0.7608 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000274/1.138, allocations: 0.5592 MB / 0.7614 GB, free: 69.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.142, allocations: 2.516 MB / 0.7639 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005754/1.147, allocations: 5.935 MB / 0.7696 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/1.153, allocations: 3.849 MB / 0.7734 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/1.154, allocations: 36.75 kB / 0.7734 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01747/1.171, allocations: 9.079 MB / 0.7823 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.171, allocations: 58.03 kB / 0.7824 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002529/1.172, allocations: 119.8 kB / 0.7825 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002995/1.175, allocations: 1.064 MB / 0.7835 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005313/1.18, allocations: 1.421 MB / 0.7849 GB, free: 58.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/1.185, allocations: 5.38 MB / 0.7902 GB, free: 54.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/1.19, allocations: 328.7 kB / 0.7905 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.192, allocations: 359.6 kB / 0.7908 GB, free: 54.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002258/1.194, allocations: 0.5558 MB / 0.7914 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.195, allocations: 322.2 kB / 0.7917 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007981/1.203, allocations: 4.509 MB / 0.7961 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/1.203, allocations: 23.94 kB / 0.7961 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/1.203, allocations: 6.719 kB / 0.7961 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.32e-05/1.203, allocations: 9.938 kB / 0.7961 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.224, allocations: 9.933 MB / 0.8058 GB, free: 47.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.224, allocations: 0 / 0.8058 GB, free: 47.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/1.227, allocations: 387.6 kB / 0.8062 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/1.229, allocations: 0.8704 MB / 0.807 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/1.229, allocations: 41.33 kB / 0.8071 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/1.233, allocations: 4.728 MB / 0.8117 GB, free: 43.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.233, allocations: 0 / 0.8117 GB, free: 43.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009552/1.243, allocations: 7.86 MB / 0.8194 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.245, allocations: 0.7472 MB / 0.8201 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/1.246, allocations: 34.16 kB / 0.8201 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.247, allocations: 128.8 kB / 0.8202 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.248, allocations: 124.2 kB / 0.8204 GB, free: 40.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.248, allocations: 61.66 kB / 0.8204 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002971/1.251, allocations: 2.036 MB / 0.8224 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/1.251, allocations: 0 / 0.8224 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005366/1.256, allocations: 1.014 MB / 0.8234 GB, free: 38.42 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 183 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005179/1.257, allocations: 192.1 kB / 0.8236 GB, free: 38.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009953/1.267, allocations: 6.597 MB / 0.83 GB, free: 32.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.267, allocations: 0 / 0.83 GB, free: 32.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003963/1.271, allocations: 2.749 MB / 0.8327 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.273, allocations: 314.7 kB / 0.833 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.288, allocations: 8.02 MB / 0.8408 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003459/1.291, allocations: 3.127 MB / 0.8439 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004701/1.296, allocations: 1.949 MB / 0.8458 GB, free: 18.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.297, allocations: 249 kB / 0.846 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/1.297, allocations: 0 / 0.846 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.06415/1.361, allocations: 36.75 MB / 0.8819 GB, free: 2.945 MB / 0.5105 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/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