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.001427/0.001427, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001223/0.001223, allocations: 161.8 kB / 24.91 MB, free: 8.766 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 1.073/1.073, allocations: 177 MB / 205.2 MB, free: 5.438 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.268/0.268, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.532e-06/1.532e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.987e-05, allocations: 4.281 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003671/0.003701, allocations: 3.076 MB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.004541, allocations: 438.2 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.00468, allocations: 15.88 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.004777, allocations: 67.3 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.005076, allocations: 174.4 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.005324, allocations: 107.8 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.005749, allocations: 0.5647 MB / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.005978, allocations: 113.8 kB / 330.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.00628, allocations: 323.3 kB / 330.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.006456, allocations: 163.6 kB / 331 MB, free: 2.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.006497, allocations: 40 kB / 331 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.006539, allocations: 40 kB / 331 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.006591, allocations: 91.66 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.006702, allocations: 179.6 kB / 331.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.006996, allocations: 354.6 kB / 331.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.007001, allocations: 0 / 331.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007002, allocations: 0 / 331.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007008, allocations: 0 / 331.6 MB, free: 1.402 MB / 298.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.0006591/0.007667, allocations: 0.6298 MB / 332.3 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.0077, allocations: 8.031 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.007781, allocations: 72.89 kB / 332.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.008001, allocations: 206.5 kB / 332.6 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.008023, allocations: 33.38 kB / 332.6 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.00808, allocations: 56.31 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.008377, allocations: 362.5 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.008399, allocations: 16.05 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.008419, allocations: 24.38 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.008429, allocations: 16.38 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.008569, allocations: 130.4 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.009725, allocations: 1.346 MB / 334.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.009967, allocations: 311.8 kB / 334.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.01005, allocations: 111.8 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.01006, allocations: 8 kB / 334.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01009, allocations: 46.5 kB / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.01009, allocations: 0 / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003457/0.01044, allocations: 233.3 kB / 335.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.01052, allocations: 273 kB / 335.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.01077, allocations: 245.5 kB / 335.7 MB, free: 13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01079, allocations: 37.7 kB / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.01087, allocations: 232.2 kB / 336 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.01095, allocations: 186.4 kB / 336.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.01103, allocations: 122.6 kB / 336.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.01113, allocations: 354.7 kB / 336.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.01118, allocations: 49.97 kB / 336.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.01135, allocations: 353.6 kB / 337 MB, free: 11.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.01165, allocations: 495.2 kB / 337.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.01165, allocations: 4 kB / 337.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003319/0.01199, allocations: 401 kB / 337.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.012, allocations: 8 kB / 337.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.01201, allocations: 12 kB / 337.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01203, allocations: 12.75 kB / 337.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.0124, allocations: 211.7 kB / 338.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.01242, allocations: 27.81 kB / 338.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01255, allocations: 59.58 kB / 338.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01257, allocations: 28 kB / 338.3 MB, free: 10.15 MB / 314.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 9.634e-05/0.01267, allocations: 161.5 kB / 338.4 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.01279, allocations: 43.94 kB / 338.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.01283, allocations: 41.77 kB / 338.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01284, allocations: 12 kB / 338.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01284, allocations: 11.88 kB / 338.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01285, allocations: 0 / 338.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.01332, allocations: 221.5 kB / 338.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01333, allocations: 4 kB / 338.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.01366, allocations: 145.9 kB / 338.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01367, allocations: 4 kB / 338.9 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.01369, allocations: 15.94 kB / 338.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01369, allocations: 8.062 kB / 338.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01369, allocations: 4 kB / 338.9 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.0141, allocations: 0.9584 MB / 339.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01413, allocations: 35.7 kB / 339.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.01416, allocations: 23.92 kB / 339.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.01437, allocations: 8 kB / 339.9 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.0144, allocations: 27.95 kB / 340 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01441, allocations: 8 kB / 340 MB, free: 8.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.01446, allocations: 78.77 kB / 340.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01446, allocations: 0 / 340.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004585/0.01492, allocations: 139.8 kB / 340.2 MB, free: 8.16 MB / 314.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 8.735e-05/0.015, allocations: 88.92 kB / 340.3 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.01524, allocations: 271.9 kB / 340.5 MB, free: 7.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01525, allocations: 5 kB / 340.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.399e-05/0.01532, allocations: 100.6 kB / 340.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.01599, allocations: 117.3 kB / 340.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01701, allocations: 1.004 MB / 341.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.01711, allocations: 121.8 kB / 341.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.01721, allocations: 52.25 kB / 341.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.01737, allocations: 141.3 kB / 342.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01738, allocations: 0 / 342.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of Templates: time 0.006764/0.02414, allocations: 5.056 MB / 347.1 MB, free: 1.293 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.00516574177891]