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.0009561/0.0009561, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001124/0.001124, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.52 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.2903/0.2903, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.843e-06/1.843e-06, allocations: 0 / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.151e-05, allocations: 3.297 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003851/0.003883, allocations: 3.067 MB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004949, allocations: 422.5 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.005136, allocations: 11.94 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.005257, allocations: 67.31 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.005577, allocations: 174.4 kB / 382.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.005822, allocations: 107.8 kB / 382.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004731/0.006295, allocations: 0.5633 MB / 383.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.006493, allocations: 109.2 kB / 383.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.006828, allocations: 323.3 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.006987, allocations: 155.6 kB / 383.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.007035, allocations: 40 kB / 383.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.663e-05/0.007081, allocations: 40 kB / 383.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.007141, allocations: 103.6 kB / 383.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.007269, allocations: 175.6 kB / 384.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.007612, allocations: 346.7 kB / 384.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.007619, allocations: 3.938 kB / 384.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.007621, allocations: 0 / 384.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.00763, allocations: 4 kB / 384.4 MB, free: 12.74 MB / 362.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.0008883/0.008518, allocations: 0.7454 MB / 385.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.008559, allocations: 8.031 kB / 385.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.008685, allocations: 88.66 kB / 385.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.008966, allocations: 245.2 kB / 385.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.008989, allocations: 33.38 kB / 385.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.009112, allocations: 56.33 kB / 385.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.009827, allocations: 404.1 kB / 386 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.009864, allocations: 8.141 kB / 386 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.009911, allocations: 20.38 kB / 386 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.009932, allocations: 16.36 kB / 386 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.0102, allocations: 183 kB / 386.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.0118, allocations: 1.908 MB / 388.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.01219, allocations: 427.7 kB / 388.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.01233, allocations: 145.7 kB / 388.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.01235, allocations: 8 kB / 388.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.01238, allocations: 53.31 kB / 388.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/0.01238, allocations: 4 kB / 388.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005296/0.01291, allocations: 313.9 kB / 389 MB, free: 7.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.01304, allocations: 273 kB / 389.3 MB, free: 7.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.01325, allocations: 292.3 kB / 389.6 MB, free: 7.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01326, allocations: 29.7 kB / 389.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.0134, allocations: 298.9 kB / 389.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.0135, allocations: 186.5 kB / 390.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.0136, allocations: 116.3 kB / 390.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01376, allocations: 0.5239 MB / 390.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01387, allocations: 69.95 kB / 390.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.01422, allocations: 0.4891 MB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.01472, allocations: 0.6145 MB / 391.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.01473, allocations: 3.938 kB / 391.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000545/0.01528, allocations: 0.5178 MB / 392.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.0153, allocations: 8 kB / 392.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.01531, allocations: 12.08 kB / 392.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.01533, allocations: 12 kB / 392.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.01566, allocations: 183.7 kB / 392.6 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.01568, allocations: 23.92 kB / 392.6 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.01585, allocations: 63.52 kB / 392.7 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.01588, allocations: 39.98 kB / 392.7 MB, free: 3.543 MB / 362.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.0001326/0.01602, allocations: 212.4 kB / 392.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.01614, allocations: 47.81 kB / 393 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.0162, allocations: 41.77 kB / 393 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.0162, allocations: 8 kB / 393 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.01621, allocations: 0 / 393 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.01622, allocations: 7.984 kB / 393.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.01682, allocations: 296.3 kB / 393.3 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01682, allocations: 4 kB / 393.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.01716, allocations: 123.9 kB / 393.5 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01716, allocations: 4 kB / 393.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.01719, allocations: 12 kB / 393.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.01719, allocations: 15.92 kB / 393.5 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.0172, allocations: 4 kB / 393.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.01788, allocations: 1.419 MB / 394.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.01792, allocations: 43.64 kB / 395 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.01795, allocations: 8 kB / 395 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.01815, allocations: 12 kB / 395 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.01819, allocations: 31.89 kB / 395 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.0182, allocations: 15.98 kB / 395 MB, free: 1.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.433e-05/0.0183, allocations: 197.1 kB / 395.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0183, allocations: 0 / 395.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.01882, allocations: 135.8 kB / 395.4 MB, free: 0.8516 MB / 362.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.0001179/0.01894, allocations: 111.1 kB / 395.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.01928, allocations: 294.5 kB / 395.7 MB, free: 456 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01928, allocations: 4 kB / 395.8 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.01938, allocations: 125.4 kB / 395.9 MB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.02012, allocations: 97.53 kB / 396 MB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.02189, allocations: 1.512 MB / 397.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.022, allocations: 121.8 kB / 397.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.02213, allocations: 51.38 kB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.02218, allocations: 32.5 kB / 397.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.02218, allocations: 4 kB / 397.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of Templates: time 0.006352/0.02853, allocations: 4.103 MB / 401.8 MB, free: 10.39 MB / 378.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 -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.465446433983743]