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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 243 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 65.45 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1007, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0109/0.1116, allocations: 10.52 MB / 481.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.1175, allocations: 3.205 MB / 484.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.1184, allocations: 51.88 kB / 484.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003923/0.1223, allocations: 2.348 MB / 486.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.1249, allocations: 1.225 MB / 488.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.126, allocations: 0.5223 MB / 488.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003322/0.1294, allocations: 2.954 MB / 491.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.1325, allocations: 3.036 MB / 494.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.1341, allocations: 1.269 MB / 495.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.1362, allocations: 1.721 MB / 497.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.1368, allocations: 292 kB / 497.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.1385, allocations: 0.9948 MB / 498.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.14, allocations: 1.605 MB / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.1419, allocations: 1.977 MB / 0.4907 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006058/0.1479, allocations: 6.275 MB / 0.4968 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.148, allocations: 0 / 0.4968 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.148, allocations: 0 / 0.4968 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001969/0.1482, allocations: 0 / 0.4968 GB, free: 7.457 MB / 382.1 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.00862/0.1568, allocations: 4.261 MB / 0.5009 GB, free: 3.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1569, allocations: 8.031 kB / 0.501 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.1622, allocations: 1.809 MB / 0.5027 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1893/0.3515, allocations: 1.764 MB / 0.5044 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.3519, allocations: 227.6 kB / 0.5047 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009164/0.3528, allocations: 303.7 kB / 0.5049 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.372, allocations: 10.63 MB / 0.5153 GB, free: 41.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.985e-05/0.3721, allocations: 39.23 kB / 0.5154 GB, free: 41.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.3724, allocations: 144.1 kB / 0.5155 GB, free: 41.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/0.376, allocations: 2.036 MB / 0.5175 GB, free: 40.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.3921, allocations: 9.33 MB / 0.5266 GB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.4271, allocations: 37.84 MB / 0.5636 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.4377, allocations: 4.162 MB / 0.5676 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/0.4406, allocations: 2.313 MB / 0.5699 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008701/0.4494, allocations: 6.018 MB / 0.5758 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.4494, allocations: 54.81 kB / 0.5758 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 4.688e-06/0.4495, allocations: 4 kB / 0.5758 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.06032/0.5098, allocations: 21.94 MB / 0.5972 GB, free: 10.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.5099, allocations: 157.7 kB / 0.5974 GB, free: 10.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.5147, allocations: 3.378 MB / 0.6007 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.5151, allocations: 61.7 kB / 0.6007 GB, free: 6.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.5171, allocations: 2.794 MB / 0.6035 GB, free: 3.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/0.518, allocations: 0.802 MB / 0.6043 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.5196, allocations: 1.19 MB / 0.6054 GB, free: 1.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5197, allocations: 301.1 kB / 0.6057 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/0.5235, allocations: 2.331 MB / 0.608 GB, free: 15.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.5288, allocations: 5.781 MB / 0.6136 GB, free: 7.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.5394, allocations: 8.808 MB / 0.6222 GB, free: 13.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.598e-05/0.5395, allocations: 32 kB / 0.6223 GB, free: 13.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01549/0.555, allocations: 8.682 MB / 0.6307 GB, free: 4.527 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/0.5552, allocations: 56 kB / 0.6308 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.5553, allocations: 120.9 kB / 0.6309 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.558, allocations: 1.037 MB / 0.6319 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/0.5626, allocations: 1.38 MB / 0.6333 GB, free: 1.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.5685, allocations: 5.813 MB / 0.6389 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/0.5728, allocations: 327.4 kB / 0.6393 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007472/0.5736, allocations: 363.9 kB / 0.6396 GB, free: 11.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003227/0.5768, allocations: 1.939 MB / 0.6415 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/0.5774, allocations: 308 kB / 0.6418 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006766/0.5842, allocations: 3.937 MB / 0.6456 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/0.5843, allocations: 24 kB / 0.6457 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.5843, allocations: 4 kB / 0.6457 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.5843, allocations: 11.97 kB / 0.6457 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.6007, allocations: 8.871 MB / 0.6543 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.6008, allocations: 0 / 0.6543 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.6026, allocations: 343.5 kB / 0.6547 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/0.6051, allocations: 0.8733 MB / 0.6555 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.6054, allocations: 36 kB / 0.6555 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.6104, allocations: 5.096 MB / 0.6605 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6104, allocations: 0 / 0.6605 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.6207, allocations: 6.862 MB / 0.6672 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009159/0.6217, allocations: 364.8 kB / 0.6676 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.6221, allocations: 32 kB / 0.6676 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.6235, allocations: 111.8 kB / 0.6677 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.6238, allocations: 117.1 kB / 0.6678 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.624, allocations: 63.98 kB / 0.6679 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00287/0.6268, allocations: 2.077 MB / 0.6699 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6268, allocations: 0 / 0.6699 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004258/0.6311, allocations: 0.97 MB / 0.6709 GB, free: 10.66 MB / 0.4981 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004609/0.6316, allocations: 173.8 kB / 0.671 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01007/0.6417, allocations: 6.143 MB / 0.677 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.6417, allocations: 3.938 kB / 0.677 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004206/0.6459, allocations: 2.464 MB / 0.6794 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.6483, allocations: 352.9 kB / 0.6798 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.6636, allocations: 9.032 MB / 0.6886 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/0.6668, allocations: 3.018 MB / 0.6915 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004103/0.6709, allocations: 1.861 MB / 0.6934 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/0.6717, allocations: 239.4 kB / 0.6936 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of SimCode: time 1.723e-06/0.6717, allocations: 0 / 0.6936 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.2427/0.9144, allocations: 32.14 MB / 0.725 GB, free: 160.5 MB / 0.5137 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches