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.001855/0.001855, allocations: 184.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4974, allocations: 106.4 MB / 0.5827 GB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4977, allocations: 80.95 kB / 0.5827 GB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1755/0.6732, allocations: 71.2 MB / 0.6523 GB, free: 10.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6733, allocations: 0 / 0.6523 GB, free: 10.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.6734, allocations: 79.92 kB / 0.6523 GB, free: 10.21 MB / 458.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.009568/0.683, allocations: 3.743 MB / 0.656 GB, free: 6.395 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.683, allocations: 8.031 kB / 0.656 GB, free: 6.387 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008133/0.6912, allocations: 2.058 MB / 0.658 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.6964, allocations: 2.08 MB / 0.6601 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.6967, allocations: 304 kB / 0.6603 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.6977, allocations: 399.9 kB / 0.6607 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.7207, allocations: 11.12 MB / 0.6716 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.7209, allocations: 55.42 kB / 0.6716 GB, free: 5.371 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005923/0.7215, allocations: 195.9 kB / 0.6718 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.723, allocations: 1.073 MB / 0.6729 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.7427, allocations: 9.507 MB / 0.6822 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2764/1.019, allocations: 45.86 MB / 0.7269 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.03, allocations: 4.271 MB / 0.7311 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/1.041, allocations: 5.768 MB / 0.7367 GB, free: 97.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.041, allocations: 58.42 kB / 0.7368 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 5.079e-06/1.041, allocations: 0 / 0.7368 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.07138/1.112, allocations: 27.69 MB / 0.7638 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.112, allocations: 154.6 kB / 0.764 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/1.117, allocations: 3.002 MB / 0.7669 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005907/1.117, allocations: 61.19 kB / 0.767 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.119, allocations: 2.803 MB / 0.7697 GB, free: 91.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009915/1.12, allocations: 0.8354 MB / 0.7705 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/1.12, allocations: 124.1 kB / 0.7707 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002916/1.121, allocations: 0.5573 MB / 0.7712 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/1.124, allocations: 2.565 MB / 0.7737 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/1.129, allocations: 5.982 MB / 0.7795 GB, free: 84.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/1.134, allocations: 3.861 MB / 0.7833 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.542e-05/1.134, allocations: 35.25 kB / 0.7833 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0162/1.15, allocations: 9.171 MB / 0.7923 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.151, allocations: 58.12 kB / 0.7924 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000271/1.151, allocations: 121.6 kB / 0.7925 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/1.154, allocations: 1.073 MB / 0.7935 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.159, allocations: 1.409 MB / 0.7949 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/1.163, allocations: 5.486 MB / 0.8003 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/1.168, allocations: 328.8 kB / 0.8006 GB, free: 74.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.17, allocations: 364.4 kB / 0.8009 GB, free: 74.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (745): * Single equations (assignments): 738 * 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.005356/1.175, allocations: 1.969 MB / 0.8028 GB, free: 72.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.176, allocations: 319.8 kB / 0.8031 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008428/1.185, allocations: 4.556 MB / 0.8076 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/1.185, allocations: 24 kB / 0.8076 GB, free: 68.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/1.185, allocations: 7.938 kB / 0.8076 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/1.185, allocations: 7.5 kB / 0.8076 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.203, allocations: 9.975 MB / 0.8174 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.203, allocations: 4 kB / 0.8174 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.205, allocations: 381.9 kB / 0.8177 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/1.208, allocations: 0.8765 MB / 0.8186 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004299/1.208, allocations: 40 kB / 0.8186 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/1.212, allocations: 4.825 MB / 0.8233 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.212, allocations: 7.969 kB / 0.8234 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.222, allocations: 7.922 MB / 0.8311 GB, free: 47.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.224, allocations: 0.7547 MB / 0.8318 GB, free: 46.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008287/1.225, allocations: 36.17 kB / 0.8319 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.227, allocations: 125.5 kB / 0.832 GB, free: 46.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/1.227, allocations: 127.2 kB / 0.8321 GB, free: 46.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.227, allocations: 57 kB / 0.8322 GB, free: 46.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004115/1.232, allocations: 2.072 MB / 0.8342 GB, free: 44.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.232, allocations: 0 / 0.8342 GB, free: 44.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006074/1.238, allocations: 1.014 MB / 0.8352 GB, free: 43.69 MB / 0.4948 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 (190): * Single equations (assignments): 183 * 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.0008224/1.239, allocations: 195.7 kB / 0.8354 GB, free: 43.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.249, allocations: 6.671 MB / 0.8419 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.249, allocations: 0 / 0.8419 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004027/1.253, allocations: 2.773 MB / 0.8446 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.255, allocations: 303 kB / 0.8449 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/1.273, allocations: 11.14 MB / 0.8558 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004945/1.278, allocations: 3.132 MB / 0.8588 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005363/1.283, allocations: 1.95 MB / 0.8607 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.285, allocations: 243.4 kB / 0.8609 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/1.285, allocations: 4 kB / 0.8609 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.06669/1.352, allocations: 36.73 MB / 0.8968 GB, free: 13.46 MB / 0.5261 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