Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009264/0.0009264, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005132/0.005132, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.894/0.894, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 34.24 MB / 295.6 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.862e-05, allocations: 5.094 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.155/0.155, allocations: 2.81 MB / 446.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005941/0.1556, allocations: 422.2 kB / 446.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1558, allocations: 14.31 kB / 446.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.047e-05/0.1558, allocations: 74.19 kB / 446.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1561, allocations: 172.9 kB / 446.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1563, allocations: 108 kB / 447 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.1565, allocations: 0.5599 MB / 447.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1567, allocations: 112 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.157, allocations: 313.3 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1571, allocations: 157.7 kB / 448.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.1571, allocations: 40.12 kB / 448.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.1572, allocations: 40.53 kB / 448.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.1572, allocations: 95.61 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.1573, allocations: 175.1 kB / 448.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1577, allocations: 0.5301 MB / 449 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1577, allocations: 0 / 449 MB, free: 41.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1577, allocations: 0 / 449 MB, free: 41.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1577, allocations: 0 / 449 MB, free: 41.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0005847/0.1583, allocations: 0.6484 MB / 449.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1583, allocations: 11.06 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.1584, allocations: 50.25 kB / 449.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1586, allocations: 240.1 kB / 449.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1586, allocations: 35.75 kB / 450 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.1586, allocations: 52.02 kB / 450 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.159, allocations: 462.6 kB / 450.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.159, allocations: 6.953 kB / 450.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1591, allocations: 22.22 kB / 450.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1591, allocations: 15.06 kB / 450.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1593, allocations: 255.3 kB / 450.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1604, allocations: 1.495 MB / 452.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1607, allocations: 400.7 kB / 452.7 MB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1608, allocations: 149.3 kB / 452.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1608, allocations: 5.875 kB / 452.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1608, allocations: 47.69 kB / 452.9 MB, free: 39.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.1608, allocations: 3.938 kB / 452.9 MB, free: 39.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.000444/0.1613, allocations: 364 kB / 453.2 MB, free: 38.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1613, allocations: 269.8 kB / 453.5 MB, free: 38.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1614, allocations: 239.1 kB / 453.7 MB, free: 38.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1614, allocations: 36.3 kB / 453.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.1615, allocations: 247.7 kB / 454 MB, free: 38.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.1616, allocations: 191.3 kB / 454.2 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.1617, allocations: 119 kB / 454.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.1617, allocations: 352.5 kB / 454.6 MB, free: 37.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1618, allocations: 115.8 kB / 454.7 MB, free: 37.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.162, allocations: 421.8 kB / 455.2 MB, free: 37.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1623, allocations: 0.5771 MB / 455.7 MB, free: 36.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.1623, allocations: 2.844 kB / 455.7 MB, free: 36.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004742/0.1628, allocations: 0.5695 MB / 456.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1628, allocations: 7.594 kB / 456.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1629, allocations: 11.28 kB / 456.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.1629, allocations: 13.59 kB / 456.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.1632, allocations: 181.4 kB / 456.5 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1632, allocations: 20.86 kB / 456.5 MB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.1633, allocations: 58.94 kB / 456.6 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1634, allocations: 34.66 kB / 456.6 MB, free: 36.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001117/0.1635, allocations: 188 kB / 456.8 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.1636, allocations: 40.77 kB / 456.9 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1636, allocations: 41.67 kB / 456.9 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1636, allocations: 8.5 kB / 456.9 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1636, allocations: 9.484 kB / 456.9 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1636, allocations: 0 / 456.9 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.1642, allocations: 312.1 kB / 457.2 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1642, allocations: 2.969 kB / 457.2 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.1645, allocations: 127.8 kB / 457.3 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1645, allocations: 2.969 kB / 457.3 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1645, allocations: 12.69 kB / 457.4 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1645, allocations: 9.281 kB / 457.4 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1645, allocations: 2.531 kB / 457.4 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.1649, allocations: 1.076 MB / 458.4 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.165, allocations: 35.22 kB / 458.5 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.165, allocations: 17.81 kB / 458.5 MB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1652, allocations: 8.938 kB / 458.5 MB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.1652, allocations: 36.62 kB / 458.5 MB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1652, allocations: 19 kB / 458.6 MB, free: 35.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.1653, allocations: 162.2 kB / 458.7 MB, free: 34.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1653, allocations: 0 / 458.7 MB, free: 34.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.1659, allocations: 142 kB / 458.9 MB, free: 34.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001454/0.166, allocations: 108.3 kB / 459 MB, free: 34.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1664, allocations: 346.5 kB / 459.3 MB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1664, allocations: 0 / 459.3 MB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.1665, allocations: 119.5 kB / 459.4 MB, free: 34.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.1672, allocations: 99.59 kB / 459.5 MB, free: 34.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1684, allocations: 1.522 MB / 461 MB, free: 33.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.1686, allocations: 222.5 kB / 461.3 MB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1686, allocations: 44.16 kB / 461.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1686, allocations: 0 / 461.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of Templates: time 0.004522/0.1732, allocations: 5.347 MB / 466.6 MB, free: 32.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.250610907562077]