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.001569/0.001569, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008411/0.0008411, allocations: 101.6 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 45.14 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.452e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4977, allocations: 106.2 MB / 0.6081 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.498, allocations: 76.22 kB / 0.6081 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3077/0.8057, allocations: 125.8 MB / 0.731 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8058, allocations: 0 / 0.731 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000437/0.8062, allocations: 136 kB / 0.7311 GB, free: 6.398 MB / 0.5105 GB 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.02139/0.8276, allocations: 6.866 MB / 0.7378 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8277, allocations: 16.02 kB / 0.7378 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.84, allocations: 2.803 MB / 0.7405 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009858/0.8499, allocations: 3.87 MB / 0.7443 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.8504, allocations: 240 kB / 0.7446 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/0.8534, allocations: 435.8 kB / 0.745 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2773/1.131, allocations: 11.27 MB / 0.756 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/1.164, allocations: 15.99 MB / 0.7716 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/1.165, allocations: 77.42 kB / 0.7717 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/1.167, allocations: 39.5 kB / 0.7717 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/1.169, allocations: 1.954 MB / 0.7736 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07197/1.241, allocations: 72.97 MB / 0.8449 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007688/1.249, allocations: 7.462 MB / 0.8522 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005597/1.255, allocations: 5.544 MB / 0.8576 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009685/1.256, allocations: 1.123 MB / 0.8587 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/1.256, allocations: 80.66 kB / 0.8587 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=392): time 7.014e-06/1.256, allocations: 0 / 0.8587 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537): time 0.1205/1.376, allocations: 59.35 MB / 0.9167 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/1.376, allocations: 266.9 kB / 0.917 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00487/1.381, allocations: 3.592 MB / 0.9205 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00144/1.383, allocations: 29.64 kB / 0.9205 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.385, allocations: 4.583 MB / 0.925 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002418/1.387, allocations: 1.857 MB / 0.9268 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000718/1.388, allocations: 0 / 0.9268 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004433/1.389, allocations: 0.7502 MB / 0.9275 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00617/1.395, allocations: 5.442 MB / 0.9328 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009509/1.404, allocations: 10.44 MB / 0.943 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/1.416, allocations: 7.482 MB / 0.9503 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/1.416, allocations: 48 kB / 0.9504 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3022/1.718, allocations: 17.57 MB / 0.9675 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003724/1.719, allocations: 80.25 kB / 0.9676 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004953/1.719, allocations: 179.3 kB / 0.9678 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009086/1.728, allocations: 3.074 MB / 0.9708 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.739, allocations: 2.469 MB / 0.9732 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/1.757, allocations: 22.65 MB / 0.9953 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008276/1.766, allocations: 410.8 kB / 0.9957 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/1.768, allocations: 0.5728 MB / 0.9963 GB, free: 102.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1247 * 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.003596/1.772, allocations: 0.5835 MB / 0.9968 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/1.773, allocations: 498.3 kB / 0.9973 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/1.792, allocations: 12.9 MB / 1.01 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/1.792, allocations: 55.19 kB / 1.01 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.792, allocations: 11.53 kB / 1.01 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-05/1.792, allocations: 32.23 kB / 1.01 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04166/1.834, allocations: 25.01 MB / 1.034 GB, free: 93.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.834, allocations: 3.562 kB / 1.034 GB, free: 93.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00507/1.839, allocations: 0.918 MB / 1.035 GB, free: 93.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007985/1.847, allocations: 3.278 MB / 1.039 GB, free: 92.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009631/1.848, allocations: 17.5 kB / 1.039 GB, free: 92.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.864, allocations: 20.01 MB / 1.058 GB, free: 78.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.864, allocations: 7.875 kB / 1.058 GB, free: 78.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/1.89, allocations: 20.86 MB / 1.078 GB, free: 66.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009506/1.891, allocations: 0.4897 MB / 1.079 GB, free: 66.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/1.893, allocations: 15.84 kB / 1.079 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003858/1.897, allocations: 292.3 kB / 1.079 GB, free: 65.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009869/1.898, allocations: 343.2 kB / 1.08 GB, free: 65.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005942/1.898, allocations: 136.3 kB / 1.08 GB, free: 65.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003687/1.902, allocations: 2.325 MB / 1.082 GB, free: 63.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.902, allocations: 0 / 1.082 GB, free: 63.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007759/1.91, allocations: 1.797 MB / 1.084 GB, free: 61.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 436 * 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.0008633/1.911, allocations: 208.2 kB / 1.084 GB, free: 61.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0164/1.927, allocations: 14.33 MB / 1.098 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.927, allocations: 0 / 1.098 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009647/1.937, allocations: 7.869 MB / 1.106 GB, free: 41.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.939, allocations: 361.1 kB / 1.106 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/1.965, allocations: 16.96 MB / 1.123 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006686/1.972, allocations: 5.292 MB / 1.128 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008297/1.98, allocations: 3.259 MB / 1.131 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/1.982, allocations: 418 kB / 1.131 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of SimCode: time 6.72e-07/1.982, allocations: 0 / 1.131 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.3826/2.365, allocations: 79.35 MB / 1.209 GB, free: 109.2 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