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.001233/0.001233, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.0008309, allocations: 86.3 kB / 261.7 MB, free: 1.625 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.196/0.196, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.278e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5167, allocations: 105.6 MB / 0.5691 GB, free: 6.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.517, allocations: 80.06 kB / 0.5692 GB, free: 5.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1819/0.6989, allocations: 69.43 MB / 0.637 GB, free: 8.656 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.699, allocations: 4 kB / 0.637 GB, free: 8.652 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001759/0.6992, allocations: 72 kB / 0.6371 GB, free: 8.582 MB / 442.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.01294/0.7122, allocations: 3.615 MB / 0.6406 GB, free: 4.902 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.7122, allocations: 8.031 kB / 0.6406 GB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008891/0.7211, allocations: 2.073 MB / 0.6426 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005548/0.7267, allocations: 2.068 MB / 0.6446 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.7269, allocations: 135.9 kB / 0.6448 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.7284, allocations: 228 kB / 0.645 GB, free: 348 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01078/0.7392, allocations: 6.072 MB / 0.6509 GB, free: 10.26 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.7561, allocations: 9.161 MB / 0.6599 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.7563, allocations: 51.52 kB / 0.6599 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005229/0.7568, allocations: 28 kB / 0.6599 GB, free: 88 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.7584, allocations: 1.069 MB / 0.661 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04881/0.8073, allocations: 44.38 MB / 0.7043 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2801/1.087, allocations: 3.483 MB / 0.7077 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003629/1.091, allocations: 2.228 MB / 0.7099 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/1.092, allocations: 0.7098 MB / 0.7106 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.379e-05/1.092, allocations: 59.84 kB / 0.7107 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 6.843e-06/1.092, allocations: 0 / 0.7107 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.04884/1.141, allocations: 23.25 MB / 0.7334 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.141, allocations: 204.4 kB / 0.7336 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/1.146, allocations: 2.494 MB / 0.736 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000605/1.147, allocations: 31.59 kB / 0.736 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.148, allocations: 2.848 MB / 0.7388 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/1.149, allocations: 0.8459 MB / 0.7396 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.149, allocations: 3.688 kB / 0.7396 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003315/1.15, allocations: 0.6269 MB / 0.7402 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/1.153, allocations: 2.506 MB / 0.7427 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/1.157, allocations: 6.034 MB / 0.7486 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/1.162, allocations: 3.851 MB / 0.7523 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-05/1.162, allocations: 35.97 kB / 0.7524 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.015/1.177, allocations: 8.557 MB / 0.7607 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/1.177, allocations: 59.91 kB / 0.7608 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.177, allocations: 130.3 kB / 0.7609 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/1.18, allocations: 1.052 MB / 0.7619 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005074/1.185, allocations: 1.479 MB / 0.7634 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/1.189, allocations: 5.09 MB / 0.7684 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004361/1.194, allocations: 218.4 kB / 0.7686 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/1.195, allocations: 383.7 kB / 0.7689 GB, free: 113.6 MB / 0.4948 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.001717/1.196, allocations: 420 kB / 0.7693 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007964/1.197, allocations: 290.4 kB / 0.7696 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007481/1.205, allocations: 4.461 MB / 0.774 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/1.205, allocations: 36.27 kB / 0.774 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.205, allocations: 3.781 kB / 0.774 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/1.205, allocations: 7.828 kB / 0.774 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/1.221, allocations: 9.75 MB / 0.7835 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.221, allocations: 4.062 kB / 0.7835 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.223, allocations: 408.8 kB / 0.7839 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/1.225, allocations: 0.8635 MB / 0.7848 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.226, allocations: 7.375 kB / 0.7848 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/1.229, allocations: 4.454 MB / 0.7891 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.229, allocations: 0 / 0.7891 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.24, allocations: 8.004 MB / 0.7969 GB, free: 92.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.242, allocations: 0.7347 MB / 0.7977 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.243, allocations: 7.141 kB / 0.7977 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.245, allocations: 104 kB / 0.7978 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/1.245, allocations: 120.7 kB / 0.7979 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.246, allocations: 68.5 kB / 0.7979 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003639/1.249, allocations: 1.62 MB / 0.7995 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/1.249, allocations: 0 / 0.7995 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0076/1.257, allocations: 0.8704 MB / 0.8004 GB, free: 88.89 MB / 0.4948 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.001115/1.258, allocations: 159.5 kB / 0.8005 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.27, allocations: 6.506 MB / 0.8069 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.27, allocations: 0 / 0.8069 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00434/1.274, allocations: 2.769 MB / 0.8096 GB, free: 80.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.276, allocations: 227 kB / 0.8098 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.294, allocations: 8.1 MB / 0.8177 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/1.3, allocations: 3.129 MB / 0.8208 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006988/1.307, allocations: 2.041 MB / 0.8228 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/1.309, allocations: 234.9 kB / 0.823 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of SimCode: time 2.074e-06/1.309, allocations: 0 / 0.823 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.05928/1.369, allocations: 33.29 MB / 0.8555 GB, free: 38.53 MB / 0.4948 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