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.00136/0.00136, allocations: 111.8 kB / 19.12 MB, free: 3.945 MB / 14.72 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.001426/0.001427, allocations: 212.9 kB / 22.08 MB, free: 0.9922 MB / 14.72 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.461/1.461, allocations: 227.4 MB / 252.3 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] 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.2269/0.2269, allocations: 46.16 MB / 351.8 MB, free: 14.29 MB / 286.1 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 0.002271/0.002271, allocations: 81.44 kB / 490.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1307, allocations: 62.45 MB / 0.5403 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00432/0.1351, allocations: 3.072 MB / 0.5433 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.1359, allocations: 418.5 kB / 0.5437 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.136, allocations: 8 kB / 0.5437 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1362, allocations: 67.31 kB / 0.5438 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1365, allocations: 166.5 kB / 0.544 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1368, allocations: 107.9 kB / 0.5441 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1373, allocations: 0.5325 MB / 0.5446 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.1376, allocations: 160.8 kB / 0.5447 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.1379, allocations: 203.3 kB / 0.5449 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1382, allocations: 211 kB / 0.5451 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.1382, allocations: 40 kB / 0.5452 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.1383, allocations: 40 kB / 0.5452 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.1384, allocations: 95.67 kB / 0.5453 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1387, allocations: 250.9 kB / 0.5455 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1392, allocations: 0.529 MB / 0.5461 GB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1392, allocations: 7.984 kB / 0.5461 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1392, allocations: 0 / 0.5461 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1393, allocations: 3.938 kB / 0.5461 GB, free: 14.34 MB / 414.1 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.001078/0.1404, allocations: 0.7208 MB / 0.5468 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1404, allocations: 8.031 kB / 0.5468 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.1405, allocations: 60.61 kB / 0.5468 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1408, allocations: 295.6 kB / 0.5471 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.1409, allocations: 37.38 kB / 0.5472 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.141, allocations: 56.31 kB / 0.5472 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.1417, allocations: 454.7 kB / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1417, allocations: 12.14 kB / 0.5477 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.1418, allocations: 19.94 kB / 0.5477 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.1418, allocations: 15.94 kB / 0.5477 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.1422, allocations: 254.5 kB / 0.5479 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.1445, allocations: 1.708 MB / 0.5496 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.1451, allocations: 407.4 kB / 0.55 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1453, allocations: 163.7 kB / 0.5502 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1453, allocations: 7.938 kB / 0.5502 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1454, allocations: 42.55 kB / 0.5502 GB, free: 9.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.1454, allocations: 4 kB / 0.5502 GB, free: 9.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007551/0.1461, allocations: 358.4 kB / 0.5505 GB, free: 9.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.1463, allocations: 276.9 kB / 0.5508 GB, free: 9.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1466, allocations: 246.8 kB / 0.551 GB, free: 8.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1466, allocations: 33.7 kB / 0.5511 GB, free: 8.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1468, allocations: 256.7 kB / 0.5513 GB, free: 8.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.1469, allocations: 182.4 kB / 0.5515 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1471, allocations: 114.6 kB / 0.5516 GB, free: 8.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1473, allocations: 346.8 kB / 0.5519 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1475, allocations: 125.9 kB / 0.5521 GB, free: 7.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.1479, allocations: 421.5 kB / 0.5525 GB, free: 7.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.1486, allocations: 0.5645 MB / 0.553 GB, free: 6.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1487, allocations: 4 kB / 0.553 GB, free: 6.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008407/0.1495, allocations: 0.5687 MB / 0.5536 GB, free: 5.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1495, allocations: 8 kB / 0.5536 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1496, allocations: 8.094 kB / 0.5536 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.1496, allocations: 20 kB / 0.5536 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.1502, allocations: 187.7 kB / 0.5538 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.1502, allocations: 27.94 kB / 0.5538 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.1505, allocations: 67.52 kB / 0.5539 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.1505, allocations: 32 kB / 0.5539 GB, free: 5.609 MB / 414.1 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.0001904/0.1507, allocations: 185.5 kB / 0.5541 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.1509, allocations: 43.77 kB / 0.5541 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/0.151, allocations: 45.69 kB / 0.5542 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.151, allocations: 11.88 kB / 0.5542 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.151, allocations: 4 kB / 0.5542 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.151, allocations: 4 kB / 0.5542 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009932/0.152, allocations: 409.3 kB / 0.5546 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.152, allocations: 4 kB / 0.5546 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.1526, allocations: 123.9 kB / 0.5547 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1526, allocations: 4 kB / 0.5547 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1526, allocations: 11.98 kB / 0.5547 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.1527, allocations: 7.938 kB / 0.5547 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.1527, allocations: 7.938 kB / 0.5547 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.1536, allocations: 1.09 MB / 0.5558 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1537, allocations: 112.8 kB / 0.5559 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.1538, allocations: 12 kB / 0.5559 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1542, allocations: 11.94 kB / 0.5559 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1542, allocations: 27.95 kB / 0.5559 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1543, allocations: 16 kB / 0.556 GB, free: 3.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1544, allocations: 170 kB / 0.5561 GB, free: 3.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 4 kB / 0.5561 GB, free: 3.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007708/0.1552, allocations: 139.7 kB / 0.5563 GB, free: 3.09 MB / 414.1 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.0002093/0.1554, allocations: 111.2 kB / 0.5564 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.156, allocations: 352 kB / 0.5567 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.156, allocations: 4 kB / 0.5567 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1562, allocations: 137.3 kB / 0.5568 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.1574, allocations: 107.6 kB / 0.5569 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.1603, allocations: 2.011 MB / 0.5589 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.1609, allocations: 0.8236 MB / 0.5597 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.161, allocations: 35.44 kB / 0.5597 GB, free: 15.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.161, allocations: 0 / 0.5597 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Templates: time 0.008049/0.169, allocations: 5.068 MB / 0.5647 GB, free: 10.37 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.198135682032444]