Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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 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 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 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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00785/0.00785, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001732/0.001732, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 222.7 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.361/0.361, allocations: 43.5 MB / 313.5 MB, free: 8.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.91 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1527, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00543/0.1582, allocations: 3.304 MB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1602, allocations: 0.8424 MB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007839/0.161, allocations: 11.94 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1616, allocations: 55.61 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008521/0.1625, allocations: 150.8 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.163, allocations: 91.91 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.1641, allocations: 0.5675 MB / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.1645, allocations: 149.8 kB / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.1651, allocations: 207.2 kB / 445.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.1657, allocations: 231 kB / 445.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1658, allocations: 28 kB / 445.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.166, allocations: 28 kB / 445.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1661, allocations: 87.62 kB / 445.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.1666, allocations: 246.8 kB / 445.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.1672, allocations: 0.5371 MB / 446.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1672, allocations: 0 / 446.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1672, allocations: 0 / 446.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.1672, allocations: 0 / 446.3 MB, free: 8.281 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001362/0.1686, allocations: 0.7562 MB / 447.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1687, allocations: 8.031 kB / 447.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.1688, allocations: 60.28 kB / 447.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1692, allocations: 314.5 kB / 447.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.1693, allocations: 41.31 kB / 447.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1694, allocations: 60.27 kB / 447.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.1702, allocations: 434.9 kB / 448 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.1703, allocations: 15.83 kB / 448 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1703, allocations: 20 kB / 448 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1704, allocations: 16 kB / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.1709, allocations: 312.5 kB / 448.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.1729, allocations: 1.15 MB / 449.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.1737, allocations: 489.1 kB / 450 MB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.1739, allocations: 211 kB / 450.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.174, allocations: 4.438 kB / 450.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.174, allocations: 39 kB / 450.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.174, allocations: 0 / 450.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.00314/0.1772, allocations: 2.14 MB / 452.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.1773, allocations: 85.67 kB / 452.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1776, allocations: 263 kB / 452.7 MB, free: 1.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1776, allocations: 33.7 kB / 452.7 MB, free: 1.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1778, allocations: 216.9 kB / 452.9 MB, free: 1.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.178, allocations: 268.1 kB / 453.2 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1782, allocations: 118.7 kB / 453.3 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1784, allocations: 354.7 kB / 453.7 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1787, allocations: 161.9 kB / 453.8 MB, free: 360 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.179, allocations: 280.8 kB / 454.1 MB, free: 44 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2529/0.432, allocations: 460.6 kB / 454.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4321, allocations: 0.8125 kB / 454.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009049/0.433, allocations: 0.5738 MB / 455.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.433, allocations: 5.938 kB / 455.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.433, allocations: 2.656 kB / 455.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.4331, allocations: 5.344 kB / 455.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.4336, allocations: 175.6 kB / 455.3 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.4336, allocations: 10.41 kB / 455.3 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.4339, allocations: 24.86 kB / 455.3 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.434, allocations: 26.66 kB / 455.4 MB, free: 48.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.4342, allocations: 187.5 kB / 455.5 MB, free: 48.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.4343, allocations: 45.41 kB / 455.6 MB, free: 48.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.4344, allocations: 58.55 kB / 455.6 MB, free: 48.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.4344, allocations: 10.41 kB / 455.7 MB, free: 48.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.4344, allocations: 0 / 455.7 MB, free: 48.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4344, allocations: 3.328 kB / 455.7 MB, free: 48.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.4361, allocations: 1.447 MB / 457.1 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4361, allocations: 3.656 kB / 457.1 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.4367, allocations: 158.3 kB / 457.3 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4367, allocations: 5.812 kB / 457.3 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4367, allocations: 17.94 kB / 457.3 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.4367, allocations: 10.22 kB / 457.3 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4368, allocations: 4.469 kB / 457.3 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.4376, allocations: 0.9078 MB / 458.2 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.4377, allocations: 117.3 kB / 458.3 MB, free: 47.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.4377, allocations: 22.69 kB / 458.3 MB, free: 47.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.438, allocations: 16.47 kB / 458.4 MB, free: 47.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.4381, allocations: 48.11 kB / 458.4 MB, free: 47.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4381, allocations: 23.77 kB / 458.4 MB, free: 47.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4382, allocations: 179.5 kB / 458.6 MB, free: 47.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4382, allocations: 0 / 458.6 MB, free: 47.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.4387, allocations: 148.3 kB / 458.8 MB, free: 47.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.4388, allocations: 131.9 kB / 458.9 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.4394, allocations: 451.3 kB / 459.3 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4394, allocations: 0 / 459.3 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.4397, allocations: 241.8 kB / 459.6 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.4406, allocations: 120 kB / 459.7 MB, free: 47.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.4427, allocations: 1.882 MB / 461.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.443, allocations: 0.842 MB / 462.4 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.4432, allocations: 69.83 kB / 462.5 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.4433, allocations: 41.69 kB / 462.5 MB, free: 45.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4433, allocations: 0 / 462.5 MB, free: 45.04 MB / 382.1 MB Notification: Performance of Templates: time 0.008282/0.4515, allocations: 5.037 MB / 467.5 MB, free: 44.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches