Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, allocations: 106.3 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 80.77 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1305, allocations: 62.44 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3293/0.4598, allocations: 38.23 MB / 0.5056 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01971/0.4795, allocations: 7.706 MB / 0.5131 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.4911, allocations: 162.5 kB / 0.5133 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007103/0.4983, allocations: 2.275 MB / 0.5155 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.5047, allocations: 1.122 MB / 0.5166 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.5072, allocations: 481.4 kB / 0.517 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007057/0.5143, allocations: 2.961 MB / 0.5199 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006732/0.5211, allocations: 3.189 MB / 0.523 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.5243, allocations: 1.274 MB / 0.5243 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.5282, allocations: 1.895 MB / 0.5261 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.5297, allocations: 298.2 kB / 0.5264 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.5332, allocations: 1.017 MB / 0.5274 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.5356, allocations: 1.614 MB / 0.529 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003587/0.5392, allocations: 1.977 MB / 0.5309 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008217/0.5474, allocations: 6.054 MB / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5475, allocations: 0 / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5475, allocations: 0 / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002342/0.5477, allocations: 0 / 0.5368 GB, free: 15.61 MB / 398.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.01251/0.5603, allocations: 4.248 MB / 0.541 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5603, allocations: 9.75 kB / 0.541 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/0.5665, allocations: 1.806 MB / 0.5428 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/0.5701, allocations: 1.747 MB / 0.5445 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.5703, allocations: 234.8 kB / 0.5447 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009344/0.5713, allocations: 294.4 kB / 0.545 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.5915, allocations: 10.66 MB / 0.5554 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.5917, allocations: 31.75 kB / 0.5554 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006658/0.5923, allocations: 149.7 kB / 0.5555 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/0.5959, allocations: 2.043 MB / 0.5575 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.6154, allocations: 9.358 MB / 0.5667 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.6604, allocations: 38 MB / 0.6038 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.6711, allocations: 4.193 MB / 0.6079 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.6739, allocations: 2.315 MB / 0.6101 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007901/0.6818, allocations: 6.109 MB / 0.6161 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.6819, allocations: 51.88 kB / 0.6162 GB, free: 15.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 4.739e-06/0.6819, allocations: 0 / 0.6162 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.06647/0.7484, allocations: 22.01 MB / 0.6377 GB, free: 9.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.7485, allocations: 145.8 kB / 0.6378 GB, free: 9.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005491/0.754, allocations: 3.374 MB / 0.6411 GB, free: 5.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004464/0.7545, allocations: 53.7 kB / 0.6411 GB, free: 5.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.7565, allocations: 2.799 MB / 0.6439 GB, free: 3.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/0.7577, allocations: 0.7895 MB / 0.6446 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002169/0.7599, allocations: 1.2 MB / 0.6458 GB, free: 1.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.76, allocations: 305.1 kB / 0.6461 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.7635, allocations: 2.338 MB / 0.6484 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005769/0.7693, allocations: 5.796 MB / 0.654 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.7797, allocations: 8.814 MB / 0.6627 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.184e-05/0.7798, allocations: 32 kB / 0.6627 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01584/0.7956, allocations: 8.697 MB / 0.6712 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.7958, allocations: 60.94 kB / 0.6712 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/0.7959, allocations: 120 kB / 0.6714 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.7987, allocations: 1.046 MB / 0.6724 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/0.8033, allocations: 1.376 MB / 0.6737 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/0.809, allocations: 5.823 MB / 0.6794 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/0.8137, allocations: 339.4 kB / 0.6797 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009176/0.8146, allocations: 356 kB / 0.6801 GB, free: 10.31 MB / 0.5294 GB 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.003457/0.8181, allocations: 1.931 MB / 0.682 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/0.8188, allocations: 312.1 kB / 0.6823 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00698/0.8258, allocations: 3.959 MB / 0.6861 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.8258, allocations: 22.58 kB / 0.6861 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.8259, allocations: 7.938 kB / 0.6861 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.8259, allocations: 11.97 kB / 0.6862 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.8405, allocations: 8.913 MB / 0.6949 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.8405, allocations: 4 kB / 0.6949 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.8422, allocations: 351.5 kB / 0.6952 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.8448, allocations: 0.8766 MB / 0.6961 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.8449, allocations: 36 kB / 0.6961 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.8498, allocations: 5.098 MB / 0.7011 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8499, allocations: 0 / 0.7011 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2329/1.083, allocations: 6.888 MB / 0.7078 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/1.084, allocations: 358.2 kB / 0.7081 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/1.084, allocations: 34.34 kB / 0.7082 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.085, allocations: 119.9 kB / 0.7083 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.086, allocations: 116.8 kB / 0.7084 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.086, allocations: 59.73 kB / 0.7085 GB, free: 193.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003792/1.09, allocations: 2.072 MB / 0.7105 GB, free: 192.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.09, allocations: 1.281 kB / 0.7105 GB, free: 192.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004919/1.095, allocations: 0.9505 MB / 0.7114 GB, free: 192.5 MB / 0.545 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.0005488/1.095, allocations: 179.3 kB / 0.7116 GB, free: 192.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.11, allocations: 7.863 MB / 0.7193 GB, free: 190 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.111, allocations: 0 / 0.7193 GB, free: 190 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/1.114, allocations: 2.483 MB / 0.7217 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.116, allocations: 357 kB / 0.722 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.129, allocations: 10.98 MB / 0.7327 GB, free: 183 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/1.131, allocations: 3.024 MB / 0.7357 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003785/1.135, allocations: 1.861 MB / 0.7375 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/1.136, allocations: 239.9 kB / 0.7377 GB, free: 181.5 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/1.136, allocations: 0 / 0.7377 GB, free: 181.5 MB / 0.545 GB Notification: Performance of Templates: time 0.05305/1.189, allocations: 36.99 MB / 0.7739 GB, free: 150.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches