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.001953/0.001953, allocations: 109.2 kB / 16.41 MB, free: 6.492 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.002/0.002, allocations: 184.1 kB / 17.34 MB, free: 5.766 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.552/1.552, allocations: 205.1 MB / 223.2 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.2252/0.2252, allocations: 43.52 MB / 314.1 MB, free: 472 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.001439/0.001439, allocations: 71.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01126/0.1342, allocations: 10.58 MB / 0.4982 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008339/0.1426, allocations: 3.233 MB / 0.5014 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.1445, allocations: 59.81 kB / 0.5014 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004778/0.1493, allocations: 2.363 MB / 0.5037 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.1532, allocations: 1.268 MB / 0.505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1547, allocations: 0.5146 MB / 0.5055 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004563/0.1593, allocations: 2.983 MB / 0.5084 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.1629, allocations: 3.025 MB / 0.5114 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.1654, allocations: 1.285 MB / 0.5126 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.1682, allocations: 1.729 MB / 0.5143 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006117/0.1688, allocations: 292 kB / 0.5146 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.1707, allocations: 0.9831 MB / 0.5155 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.1723, allocations: 1.605 MB / 0.5171 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.1746, allocations: 1.98 MB / 0.519 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006526/0.1811, allocations: 6.275 MB / 0.5252 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1811, allocations: 0 / 0.5252 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1811, allocations: 0 / 0.5252 GB, free: 5.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.1813, allocations: 0 / 0.5252 GB, free: 5.457 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.007334/0.1886, allocations: 4.257 MB / 0.5293 GB, free: 1.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1887, allocations: 19.89 kB / 0.5293 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2434/0.4321, allocations: 1.803 MB / 0.5311 GB, free: 36.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.4358, allocations: 1.78 MB / 0.5328 GB, free: 36.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.436, allocations: 230.3 kB / 0.5331 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006301/0.4366, allocations: 299.3 kB / 0.5333 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/0.4624, allocations: 10.63 MB / 0.5437 GB, free: 32.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000231/0.4627, allocations: 43.17 kB / 0.5438 GB, free: 32.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005969/0.4633, allocations: 145.9 kB / 0.5439 GB, free: 32.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004005/0.4673, allocations: 2.039 MB / 0.5459 GB, free: 32.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/0.4854, allocations: 9.33 MB / 0.555 GB, free: 28.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0375/0.5229, allocations: 37.83 MB / 0.592 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.5334, allocations: 4.174 MB / 0.596 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.5362, allocations: 2.319 MB / 0.5983 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008403/0.5446, allocations: 6.008 MB / 0.6042 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.5447, allocations: 55.81 kB / 0.6042 GB, free: 10.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.288e-06/0.5447, allocations: 0 / 0.6042 GB, free: 10.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06169/0.6064, allocations: 21.96 MB / 0.6257 GB, free: 4.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6065, allocations: 149.8 kB / 0.6258 GB, free: 4.051 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.6117, allocations: 3.383 MB / 0.6291 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/0.6122, allocations: 65.62 kB / 0.6292 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/0.6142, allocations: 2.798 MB / 0.6319 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008755/0.6151, allocations: 0.7904 MB / 0.6327 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.6166, allocations: 1.194 MB / 0.6338 GB, free: 11.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.6167, allocations: 305.1 kB / 0.6341 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/0.6201, allocations: 2.335 MB / 0.6364 GB, free: 9.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/0.6259, allocations: 5.777 MB / 0.642 GB, free: 1.609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.6366, allocations: 8.808 MB / 0.6506 GB, free: 7.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.96e-05/0.6367, allocations: 39.98 kB / 0.6507 GB, free: 7.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01533/0.652, allocations: 8.669 MB / 0.6592 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.6522, allocations: 60 kB / 0.6592 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/0.6523, allocations: 120 kB / 0.6593 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.6551, allocations: 1.034 MB / 0.6603 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.6596, allocations: 1.38 MB / 0.6617 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.6658, allocations: 5.821 MB / 0.6674 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/0.6709, allocations: 323.5 kB / 0.6677 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/0.672, allocations: 363.9 kB / 0.668 GB, free: 4.98 MB / 0.4981 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.004929/0.677, allocations: 1.943 MB / 0.6699 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.6781, allocations: 308 kB / 0.6702 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/0.6859, allocations: 3.95 MB / 0.6741 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-05/0.686, allocations: 24 kB / 0.6741 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.686, allocations: 4 kB / 0.6741 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.686, allocations: 7.969 kB / 0.6741 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.7007, allocations: 8.796 MB / 0.6827 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.7008, allocations: 0 / 0.6827 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.7025, allocations: 347.5 kB / 0.683 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.7049, allocations: 0.8735 MB / 0.6839 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.7051, allocations: 32 kB / 0.6839 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.7102, allocations: 5.133 MB / 0.6889 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7102, allocations: 0 / 0.6889 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.7202, allocations: 6.877 MB / 0.6956 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.7218, allocations: 0.6765 MB / 0.6963 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/0.7222, allocations: 36.19 kB / 0.6963 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.7236, allocations: 119.8 kB / 0.6964 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/0.724, allocations: 121.1 kB / 0.6966 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.7242, allocations: 56.06 kB / 0.6966 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003242/0.7274, allocations: 2.089 MB / 0.6987 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7274, allocations: 0 / 0.6987 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0049/0.7323, allocations: 0.9675 MB / 0.6996 GB, free: 4.16 MB / 0.5294 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.000521/0.7329, allocations: 184.1 kB / 0.6998 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.744, allocations: 6.129 MB / 0.7058 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7441, allocations: 192 / 0.7058 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004999/0.7491, allocations: 2.472 MB / 0.7082 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.7521, allocations: 359 kB / 0.7085 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.7681, allocations: 9.045 MB / 0.7174 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003219/0.7714, allocations: 3.025 MB / 0.7203 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004405/0.7758, allocations: 1.861 MB / 0.7221 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/0.7766, allocations: 239.3 kB / 0.7224 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.7766, allocations: 4 kB / 0.7224 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.3014/1.078, allocations: 34.12 MB / 0.7557 GB, free: 190.2 MB / 0.5762 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","/var/lib/jenkins/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