Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001283/0.001283, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3971/0.3971, allocations: 39.94 MB / 309.7 MB, free: 9.309 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 74.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1554, allocations: 56.88 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006679/0.1621, allocations: 3.265 MB / 437.8 MB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.164, allocations: 0.8385 MB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.1643, allocations: 15.94 kB / 438.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.1645, allocations: 75.23 kB / 438.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.165, allocations: 170.5 kB / 438.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1653, allocations: 107.8 kB / 439 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.1661, allocations: 0.5988 MB / 439.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.1665, allocations: 169.3 kB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.1668, allocations: 219.2 kB / 439.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1671, allocations: 238.9 kB / 440.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.1671, allocations: 44 kB / 440.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.337e-05/0.1672, allocations: 44 kB / 440.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.1673, allocations: 107.6 kB / 440.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.1677, allocations: 266.7 kB / 440.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.1685, allocations: 0.5527 MB / 441.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1685, allocations: 0 / 441.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1685, allocations: 0 / 441.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1685, allocations: 0 / 441.2 MB, free: 12.97 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.001355/0.1699, allocations: 0.7562 MB / 441.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1699, allocations: 15.83 kB / 441.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.17, allocations: 56.28 kB / 442 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.1704, allocations: 322.4 kB / 442.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.1705, allocations: 29.38 kB / 442.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.1706, allocations: 60.28 kB / 442.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.1713, allocations: 438.9 kB / 442.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.1713, allocations: 7.906 kB / 442.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.1714, allocations: 24 kB / 442.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1714, allocations: 12 kB / 442.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.172, allocations: 312.5 kB / 443.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.174, allocations: 1.153 MB / 444.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.1749, allocations: 493.1 kB / 444.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.1752, allocations: 211 kB / 445 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1752, allocations: 4.438 kB / 445 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1753, allocations: 39 kB / 445.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.013e-06/0.1753, allocations: 0 / 445.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.003185/0.1785, allocations: 2.144 MB / 447.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1785, allocations: 89.67 kB / 447.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1789, allocations: 255 kB / 447.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.1789, allocations: 37.7 kB / 447.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1791, allocations: 213 kB / 447.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.1793, allocations: 260.1 kB / 448 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1794, allocations: 118.7 kB / 448.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1796, allocations: 366.7 kB / 448.5 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.1799, allocations: 157.9 kB / 448.7 MB, free: 5.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.1802, allocations: 268.9 kB / 448.9 MB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.1808, allocations: 474.8 kB / 449.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1809, allocations: 0 / 449.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007694/0.1816, allocations: 0.5746 MB / 450 MB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1817, allocations: 4 kB / 450 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1817, allocations: 4 kB / 450 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1817, allocations: 8.281 kB / 450 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.1823, allocations: 171.8 kB / 450.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.1823, allocations: 15.92 kB / 450.2 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.1826, allocations: 24 kB / 450.2 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.1826, allocations: 28 kB / 450.2 MB, free: 3.402 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.0001868/0.1828, allocations: 177.7 kB / 450.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.1829, allocations: 47.44 kB / 450.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.183, allocations: 63.64 kB / 450.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.183, allocations: 8 kB / 450.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.183, allocations: 0 / 450.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1831, allocations: 7.984 kB / 450.5 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1849, allocations: 1.453 MB / 452 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.185, allocations: 4 kB / 452 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.1856, allocations: 151.8 kB / 452.1 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.1856, allocations: 11.98 kB / 452.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.1856, allocations: 23.94 kB / 452.2 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1856, allocations: 4.344 kB / 452.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1856, allocations: 8 kB / 452.2 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1869, allocations: 0.8997 MB / 453.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.187, allocations: 120.6 kB / 453.2 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.187, allocations: 19.94 kB / 453.2 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.1873, allocations: 31.92 kB / 453.2 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.1874, allocations: 36.39 kB / 453.3 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.1874, allocations: 23.98 kB / 453.3 MB, free: 144 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.234/0.4214, allocations: 178.6 kB / 453.5 MB, free: 51.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4215, allocations: 0 / 453.5 MB, free: 51.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008658/0.4223, allocations: 147 kB / 453.6 MB, free: 51.54 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.0001386/0.4225, allocations: 126.3 kB / 453.7 MB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008768/0.4234, allocations: 492.6 kB / 454.2 MB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.4234, allocations: 0 / 454.2 MB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.4236, allocations: 237 kB / 454.5 MB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.4246, allocations: 125.3 kB / 454.6 MB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.4268, allocations: 1.663 MB / 456.2 MB, free: 50.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4271, allocations: 0.8462 MB / 457.1 MB, free: 49.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.4273, allocations: 58.03 kB / 457.1 MB, free: 49.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.4274, allocations: 42.22 kB / 457.2 MB, free: 49.79 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.4274, allocations: 1.75 kB / 457.2 MB, free: 49.79 MB / 382.1 MB Notification: Performance of Templates: time 0.008516/0.4359, allocations: 5.302 MB / 462.5 MB, free: 49.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)