Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008996/0.0008994, allocations: 110 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3166/0.3166, allocations: 45.24 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002301, allocations: 8 kB / 468.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2601, allocations: 63.24 MB / 0.5192 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.3834, allocations: 106.9 MB / 0.6236 GB, free: 12.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3836, allocations: 79.95 kB / 0.6237 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5008/0.8844, allocations: 129.3 MB / 0.75 GB, free: 88.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8844, allocations: 0 / 0.75 GB, free: 88.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003987/0.8849, allocations: 135.8 kB / 0.7501 GB, free: 88.32 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.0259/0.9108, allocations: 7.081 MB / 0.757 GB, free: 83.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9108, allocations: 7.875 kB / 0.757 GB, free: 83.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.9223, allocations: 2.803 MB / 0.7598 GB, free: 82.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.9337, allocations: 3.884 MB / 0.7635 GB, free: 78.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/0.9343, allocations: 0.554 MB / 0.7641 GB, free: 77.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/0.9379, allocations: 0.7347 MB / 0.7648 GB, free: 77.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/0.9791, allocations: 20.64 MB / 0.785 GB, free: 55.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/0.9794, allocations: 83.25 kB / 0.785 GB, free: 55.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/0.9805, allocations: 347.8 kB / 0.7854 GB, free: 54.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002225/0.9828, allocations: 1.953 MB / 0.7873 GB, free: 52.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/1.017, allocations: 18.22 MB / 0.8051 GB, free: 34.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08599/1.103, allocations: 74.95 MB / 0.8783 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.282/1.385, allocations: 8.701 MB / 0.8868 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02618/1.412, allocations: 19.83 MB / 0.9061 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/1.412, allocations: 82.92 kB / 0.9062 GB, free: 125 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=386): time 6.652e-06/1.412, allocations: 0 / 0.9062 GB, free: 125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=531): time 0.2788/1.691, allocations: 92.5 MB / 0.9965 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/1.691, allocations: 183.5 kB / 0.9967 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007324/1.698, allocations: 4.555 MB / 1.001 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/1.699, allocations: 110.2 kB / 1.001 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/1.701, allocations: 4.519 MB / 1.006 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.703, allocations: 1.91 MB / 1.008 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006476/1.704, allocations: 200 kB / 1.008 GB, free: 66.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003651/1.704, allocations: 0.7358 MB / 1.008 GB, free: 65.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006563/1.711, allocations: 5.56 MB / 1.014 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009791/1.721, allocations: 10.46 MB / 1.024 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009579/1.73, allocations: 7.539 MB / 1.031 GB, free: 39.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.694e-05/1.73, allocations: 48 kB / 1.032 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03166/1.762, allocations: 18.66 MB / 1.05 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.762, allocations: 76 kB / 1.05 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.762, allocations: 172.2 kB / 1.05 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007517/1.77, allocations: 3.144 MB / 1.053 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009426/1.779, allocations: 2.39 MB / 1.055 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02472/1.804, allocations: 24.83 MB / 1.08 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008784/1.813, allocations: 0.5781 MB / 1.08 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002443/1.815, allocations: 0.5557 MB / 1.081 GB, free: 4.309 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.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 (1230): * Single equations (assignments): 1217 * 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: 8 * 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: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009213/1.825, allocations: 3.332 MB / 1.084 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/1.826, allocations: 0.5477 MB / 1.085 GB, free: 420 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2937/2.12, allocations: 13.29 MB / 1.097 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.918e-05/2.12, allocations: 52.94 kB / 1.098 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.403e-05/2.12, allocations: 12.69 kB / 1.098 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/2.12, allocations: 26.67 kB / 1.098 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05385/2.174, allocations: 26.12 MB / 1.123 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.258e-05/2.174, allocations: 13.72 kB / 1.123 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005007/2.179, allocations: 0.897 MB / 1.124 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0088/2.188, allocations: 3.335 MB / 1.127 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001383/2.19, allocations: 102 kB / 1.127 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/2.209, allocations: 21.68 MB / 1.149 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/2.209, allocations: 3.25 kB / 1.149 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02921/2.239, allocations: 21.21 MB / 1.169 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/2.24, allocations: 0.5812 MB / 1.17 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/2.242, allocations: 92.53 kB / 1.17 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/2.245, allocations: 362.8 kB / 1.17 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009382/2.246, allocations: 347.5 kB / 1.171 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004797/2.246, allocations: 133.4 kB / 1.171 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004986/2.251, allocations: 3.134 MB / 1.174 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/2.251, allocations: 0 / 1.174 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009142/2.261, allocations: 2.084 MB / 1.176 GB, free: 110.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * 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 (448): * Single equations (assignments): 430 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/2.262, allocations: 289.1 kB / 1.176 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01928/2.281, allocations: 14.71 MB / 1.19 GB, free: 99.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/2.281, allocations: 0 / 1.19 GB, free: 99.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/2.293, allocations: 7.951 MB / 1.198 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/2.297, allocations: 0.5726 MB / 1.199 GB, free: 91.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/2.332, allocations: 22.75 MB / 1.221 GB, free: 71.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/2.342, allocations: 5.284 MB / 1.226 GB, free: 67.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01024/2.352, allocations: 3.203 MB / 1.229 GB, free: 65.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002849/2.355, allocations: 456.9 kB / 1.23 GB, free: 64.62 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/2.355, allocations: 0 / 1.23 GB, free: 64.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.3991/2.754, allocations: 87.49 MB / 1.315 GB, free: 126.4 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperParallel/SpringDamperParallel.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches