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.001345/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001497/0.001497, allocations: 188.3 kB / 16.13 MB, free: 6.652 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.684/1.684, allocations: 205.1 MB / 222 MB, free: 4.738 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.3864/0.3864, allocations: 37.98 MB / 307.3 MB, free: 10.05 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.002159/0.00216, allocations: 70.56 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1611, allocations: 56.47 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006771/0.1679, allocations: 3.307 MB / 434.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1703, allocations: 0.8424 MB / 435.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.1707, allocations: 15.94 kB / 435.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.1709, allocations: 55.55 kB / 435.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.1713, allocations: 146.8 kB / 435.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1715, allocations: 87.92 kB / 435.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.1721, allocations: 0.5792 MB / 436 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.1724, allocations: 141.8 kB / 436.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.1726, allocations: 199.2 kB / 436.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1729, allocations: 238.9 kB / 436.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.173, allocations: 28 kB / 436.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.1731, allocations: 28 kB / 436.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.1732, allocations: 87.62 kB / 436.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.1735, allocations: 254.7 kB / 437 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.174, allocations: 0.5254 MB / 437.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.174, allocations: 4 kB / 437.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.174, allocations: 0 / 437.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1741, allocations: 0 / 437.5 MB, free: 0.5312 MB / 366.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.001141/0.1752, allocations: 0.7485 MB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1753, allocations: 12.03 kB / 438.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1754, allocations: 60.22 kB / 438.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1757, allocations: 310.5 kB / 438.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.1758, allocations: 37.38 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.1759, allocations: 60.22 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.1766, allocations: 438.9 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.1766, allocations: 11.91 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.1766, allocations: 20 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1767, allocations: 8 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.1772, allocations: 312.5 kB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.179, allocations: 1.161 MB / 440.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008598/0.1799, allocations: 485.1 kB / 441.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.1802, allocations: 214.9 kB / 441.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1803, allocations: 8.656 kB / 441.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1803, allocations: 42.94 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.1803, allocations: 3.938 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002928/0.1832, allocations: 2.124 MB / 443.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.1833, allocations: 93.61 kB / 443.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1836, allocations: 259 kB / 443.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.1836, allocations: 37.7 kB / 443.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1838, allocations: 209 kB / 444.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.184, allocations: 268.1 kB / 444.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1841, allocations: 118.6 kB / 444.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1843, allocations: 362.7 kB / 444.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1845, allocations: 153.9 kB / 445 MB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.1848, allocations: 276.9 kB / 445.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.1855, allocations: 474.9 kB / 445.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1855, allocations: 4 kB / 445.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007811/0.1863, allocations: 0.5629 MB / 446.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1863, allocations: 8 kB / 446.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1863, allocations: 3.984 kB / 446.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1863, allocations: 8.062 kB / 446.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.1869, allocations: 183.7 kB / 446.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.1869, allocations: 16.27 kB / 446.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1872, allocations: 20 kB / 446.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.1872, allocations: 35.88 kB / 446.6 MB, free: 6.961 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.0001839/0.1874, allocations: 177.6 kB / 446.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.1875, allocations: 43.53 kB / 446.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1876, allocations: 59.64 kB / 446.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1876, allocations: 8 kB / 446.9 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1877, allocations: 4 kB / 446.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1877, allocations: 3.984 kB / 446.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1895, allocations: 1.45 MB / 448.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1896, allocations: 0 / 448.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.1902, allocations: 159.8 kB / 448.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.1902, allocations: 7.984 kB / 448.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.1902, allocations: 23.94 kB / 448.5 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.1902, allocations: 8 kB / 448.5 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.1902, allocations: 7.938 kB / 448.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1913, allocations: 0.9079 MB / 449.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.1914, allocations: 124.5 kB / 449.5 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.1915, allocations: 15.94 kB / 449.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.1917, allocations: 19.98 kB / 449.6 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.1918, allocations: 52.33 kB / 449.6 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1918, allocations: 23.98 kB / 449.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.192, allocations: 181.9 kB / 449.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.192, allocations: 0 / 449.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.1926, allocations: 144 kB / 450 MB, free: 3.379 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.0001639/0.1927, allocations: 123 kB / 450.1 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006977/0.1934, allocations: 455.6 kB / 450.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1935, allocations: 3.938 kB / 450.5 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1938, allocations: 239.4 kB / 450.8 MB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.1947, allocations: 120.8 kB / 450.9 MB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1973, allocations: 1.861 MB / 452.8 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.225/0.4223, allocations: 0.8465 MB / 453.6 MB, free: 52.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003223/0.4227, allocations: 57.69 kB / 453.7 MB, free: 52.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4228, allocations: 42.75 kB / 453.7 MB, free: 52.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4228, allocations: 0 / 453.7 MB, free: 52.67 MB / 382.1 MB Notification: Performance of Templates: time 0.008306/0.4311, allocations: 5.048 MB / 458.7 MB, free: 52.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (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)