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.001335/0.001335, allocations: 176.3 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 230.7 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008393/0.0008394, allocations: 107.5 kB / 281.6 MB, free: 5.27 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.1992/0.1992, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.33e-05/1.333e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4996, allocations: 107.4 MB / 0.5995 GB, free: 5.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5, allocations: 79.95 kB / 0.5996 GB, free: 5.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1854/0.6853, allocations: 70.46 MB / 0.6684 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.257e-06/0.6854, allocations: 3.938 kB / 0.6684 GB, free: 14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002388/0.6857, allocations: 76 kB / 0.6685 GB, free: 13.93 MB / 490.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.01555/0.7013, allocations: 3.607 MB / 0.672 GB, free: 10.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.7013, allocations: 19.92 kB / 0.672 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.7149, allocations: 2.062 MB / 0.674 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007334/0.7223, allocations: 2.076 MB / 0.6761 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.7227, allocations: 128 kB / 0.6762 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/0.7252, allocations: 235.9 kB / 0.6764 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0158/0.741, allocations: 6.076 MB / 0.6823 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/0.7639, allocations: 9.145 MB / 0.6913 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002111/0.7642, allocations: 59.47 kB / 0.6913 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.7653, allocations: 28 kB / 0.6914 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.7668, allocations: 1.073 MB / 0.6924 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3695/1.136, allocations: 44.34 MB / 0.7357 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/1.141, allocations: 3.504 MB / 0.7391 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/1.143, allocations: 2.232 MB / 0.7413 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/1.144, allocations: 0.7192 MB / 0.742 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.144, allocations: 57.61 kB / 0.7421 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 4.648e-06/1.144, allocations: 0 / 0.7421 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.04688/1.191, allocations: 23.24 MB / 0.7648 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.191, allocations: 207.8 kB / 0.765 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/1.195, allocations: 2.488 MB / 0.7674 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005217/1.195, allocations: 32.42 kB / 0.7674 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.197, allocations: 2.843 MB / 0.7702 GB, free: 101 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009675/1.198, allocations: 0.8549 MB / 0.771 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/1.198, allocations: 0 / 0.771 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003031/1.198, allocations: 0.624 MB / 0.7716 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/1.201, allocations: 2.506 MB / 0.7741 GB, free: 98.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/1.205, allocations: 6.033 MB / 0.78 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/1.209, allocations: 3.866 MB / 0.7838 GB, free: 92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/1.209, allocations: 35.88 kB / 0.7838 GB, free: 92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01285/1.222, allocations: 8.554 MB / 0.7921 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.222, allocations: 61.03 kB / 0.7922 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/1.222, allocations: 128 kB / 0.7923 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.225, allocations: 1.054 MB / 0.7934 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/1.23, allocations: 1.477 MB / 0.7948 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/1.234, allocations: 5.074 MB / 0.7997 GB, free: 85.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/1.239, allocations: 227.8 kB / 0.8 GB, free: 85.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.24, allocations: 378.8 kB / 0.8003 GB, free: 85.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 (777): * Single equations (assignments): 770 * 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.001908/1.242, allocations: 430.5 kB / 0.8007 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.243, allocations: 286.3 kB / 0.801 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/1.251, allocations: 4.461 MB / 0.8054 GB, free: 81.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-05/1.251, allocations: 27.66 kB / 0.8054 GB, free: 81.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.251, allocations: 4 kB / 0.8054 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/1.251, allocations: 20.56 kB / 0.8054 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.266, allocations: 9.749 MB / 0.8149 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.266, allocations: 3.953 kB / 0.8149 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/1.268, allocations: 406.2 kB / 0.8153 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.271, allocations: 0.8583 MB / 0.8162 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/1.271, allocations: 7.938 kB / 0.8162 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/1.274, allocations: 4.448 MB / 0.8205 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.274, allocations: 4 kB / 0.8205 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/1.284, allocations: 8.007 MB / 0.8283 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/1.285, allocations: 331.4 kB / 0.8287 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.286, allocations: 4 kB / 0.8287 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.287, allocations: 102.7 kB / 0.8288 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/1.288, allocations: 127.7 kB / 0.8289 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.288, allocations: 59.75 kB / 0.8289 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002865/1.291, allocations: 1.617 MB / 0.8305 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.291, allocations: 0 / 0.8305 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005818/1.297, allocations: 0.8687 MB / 0.8314 GB, free: 58.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (200): * Single equations (assignments): 193 * 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.0006429/1.297, allocations: 159.6 kB / 0.8315 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009756/1.307, allocations: 6.513 MB / 0.8379 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.307, allocations: 0 / 0.8379 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003999/1.311, allocations: 2.767 MB / 0.8406 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.313, allocations: 225 kB / 0.8408 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.33, allocations: 8.09 MB / 0.8487 GB, free: 42.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004752/1.335, allocations: 3.134 MB / 0.8518 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005282/1.34, allocations: 2.048 MB / 0.8538 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.341, allocations: 237.7 kB / 0.854 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/1.341, allocations: 3.938 kB / 0.854 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.05247/1.394, allocations: 33.32 MB / 0.8865 GB, free: 7.129 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/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