Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009334/0.0009335, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008621/0.0008621, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.297/0.297, allocations: 38.03 MB / 308.4 MB, free: 10.49 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.1. 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.0005322/0.0005323, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003334/0.1241, allocations: 2.784 MB / 436.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1256, allocations: 0.8194 MB / 437.6 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1257, allocations: 11.94 kB / 437.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.1259, allocations: 55.55 kB / 437.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1262, allocations: 142.8 kB / 437.8 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1264, allocations: 79.86 kB / 437.8 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.1269, allocations: 0.5597 MB / 438.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.1272, allocations: 136.6 kB / 438.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1274, allocations: 187.3 kB / 438.7 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.1276, allocations: 215 kB / 438.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.1277, allocations: 24 kB / 438.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.1277, allocations: 27.94 kB / 439 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1278, allocations: 75.69 kB / 439 MB, free: 444 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.1279, allocations: 121.5 kB / 439.2 MB, free: 316 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.1283, allocations: 402.8 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1283, allocations: 0 / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1283, allocations: 0 / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1283, allocations: 0 / 439.6 MB, free: 15.91 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.0008521/0.1292, allocations: 0.6859 MB / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1292, allocations: 8.031 kB / 440.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.1293, allocations: 55.39 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1296, allocations: 305.3 kB / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.1297, allocations: 41 kB / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.1297, allocations: 55.91 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.1304, allocations: 434.5 kB / 441.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.1304, allocations: 7.906 kB / 441.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1304, allocations: 20 kB / 441.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1304, allocations: 12 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1309, allocations: 316.5 kB / 441.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.1323, allocations: 1.157 MB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.133, allocations: 481.1 kB / 443.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.1332, allocations: 215 kB / 443.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1333, allocations: 4.438 kB / 443.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1333, allocations: 42.98 kB / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.03e-05/0.1333, allocations: 224 / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002572/0.1359, allocations: 2.124 MB / 445.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.136, allocations: 93.61 kB / 445.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1362, allocations: 254.9 kB / 445.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1362, allocations: 41.7 kB / 445.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1364, allocations: 213 kB / 446.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.1365, allocations: 264.1 kB / 446.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.1366, allocations: 16 kB / 446.3 MB, free: 8.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1367, allocations: 354.8 kB / 446.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1369, allocations: 153.9 kB / 446.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.1373, allocations: 273.1 kB / 447.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.1376, allocations: 207.1 kB / 447.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1376, allocations: 0 / 447.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007386/0.1383, allocations: 0.5589 MB / 447.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1384, allocations: 8 kB / 447.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1384, allocations: 4 kB / 447.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1384, allocations: 4 kB / 447.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.1389, allocations: 184 kB / 448.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.139, allocations: 15.94 kB / 448.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.1392, allocations: 20 kB / 448.1 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.1392, allocations: 24 kB / 448.1 MB, free: 6.867 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.1394, allocations: 186.7 kB / 448.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.1395, allocations: 43.52 kB / 448.3 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1396, allocations: 51.66 kB / 448.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1396, allocations: 12.03 kB / 448.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.1396, allocations: 15.88 kB / 448.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1397, allocations: 0 / 448.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1414, allocations: 1.446 MB / 449.9 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1414, allocations: 4 kB / 449.9 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.142, allocations: 163.8 kB / 450 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.142, allocations: 4 kB / 450 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.142, allocations: 16 kB / 450.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.142, allocations: 7.953 kB / 450.1 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.1421, allocations: 8.281 kB / 450.1 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1431, allocations: 0.9158 MB / 451 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.1432, allocations: 108.7 kB / 451.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.1433, allocations: 24 kB / 451.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1435, allocations: 19.98 kB / 451.1 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1436, allocations: 56.33 kB / 451.2 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1436, allocations: 20 kB / 451.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1438, allocations: 170 kB / 451.4 MB, free: 3.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 0 / 451.4 MB, free: 3.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.1443, allocations: 148 kB / 451.5 MB, free: 3.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.1444, allocations: 123 kB / 451.6 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006785/0.1451, allocations: 455.5 kB / 452.1 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1451, allocations: 0 / 452.1 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.1454, allocations: 235.2 kB / 452.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.1462, allocations: 120.9 kB / 452.4 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.1487, allocations: 2.031 MB / 454.5 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2019/0.3506, allocations: 0.8442 MB / 455.3 MB, free: 49.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.351, allocations: 58.16 kB / 455.4 MB, free: 49.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3511, allocations: 41.38 kB / 455.4 MB, free: 49.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3511, allocations: 0 / 455.4 MB, free: 49.77 MB / 382.1 MB Notification: Performance of Templates: time 0.007914/0.359, allocations: 4.813 MB / 460.2 MB, free: 49.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) Environment - environmentSimulation: