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.00181/0.00181, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.002181/0.002181, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.526/1.526, allocations: 227.4 MB / 251.6 MB, free: 64 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.2361/0.2361, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.002208/0.002208, allocations: 80.02 kB / 490.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1217, allocations: 62.46 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00442/0.1262, allocations: 3.08 MB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.1269, allocations: 410.5 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1271, allocations: 8 kB / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1273, allocations: 71.3 kB / 0.5432 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.1276, allocations: 166.5 kB / 0.5433 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.128, allocations: 103.9 kB / 0.5434 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000663/0.1286, allocations: 0.5364 MB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.1289, allocations: 156.8 kB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.1292, allocations: 203.2 kB / 0.5443 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.1295, allocations: 223 kB / 0.5445 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.1296, allocations: 40 kB / 0.5445 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.1296, allocations: 40 kB / 0.5446 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.1297, allocations: 95.67 kB / 0.5447 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.13, allocations: 242.9 kB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.1306, allocations: 0.529 MB / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1306, allocations: 0 / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1306, allocations: 0 / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1306, allocations: 0 / 0.5454 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.00102/0.1316, allocations: 0.7286 MB / 0.5461 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1317, allocations: 8.031 kB / 0.5461 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/0.1318, allocations: 56.61 kB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1321, allocations: 299.5 kB / 0.5465 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1322, allocations: 33.38 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.1323, allocations: 56.33 kB / 0.5465 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.133, allocations: 454.7 kB / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.133, allocations: 20.06 kB / 0.547 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.1331, allocations: 19.94 kB / 0.547 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1331, allocations: 12 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.1335, allocations: 255.7 kB / 0.5473 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.1359, allocations: 1.7 MB / 0.5489 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.1365, allocations: 415.4 kB / 0.5493 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.1367, allocations: 155.7 kB / 0.5495 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1367, allocations: 7.938 kB / 0.5495 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.1368, allocations: 46.5 kB / 0.5495 GB, free: 9.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.1368, allocations: 0 / 0.5495 GB, free: 9.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007392/0.1375, allocations: 362.4 kB / 0.5499 GB, free: 9.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.1377, allocations: 273.5 kB / 0.5501 GB, free: 9.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.138, allocations: 250.8 kB / 0.5504 GB, free: 8.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.138, allocations: 29.7 kB / 0.5504 GB, free: 8.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1382, allocations: 252.2 kB / 0.5506 GB, free: 8.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.1384, allocations: 190.4 kB / 0.5508 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1385, allocations: 110.6 kB / 0.5509 GB, free: 8.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1387, allocations: 350.7 kB / 0.5513 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1389, allocations: 122 kB / 0.5514 GB, free: 7.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.1394, allocations: 421.6 kB / 0.5518 GB, free: 7.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.1401, allocations: 0.5724 MB / 0.5523 GB, free: 6.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.1401, allocations: 4 kB / 0.5523 GB, free: 6.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008725/0.141, allocations: 0.5676 MB / 0.5529 GB, free: 5.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.1411, allocations: 8 kB / 0.5529 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1411, allocations: 11.94 kB / 0.5529 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/0.1411, allocations: 16 kB / 0.5529 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.1417, allocations: 180.3 kB / 0.5531 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/0.1417, allocations: 23.92 kB / 0.5531 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.142, allocations: 67.86 kB / 0.5532 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.142, allocations: 36 kB / 0.5532 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.0002244/0.1423, allocations: 185.5 kB / 0.5534 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.1425, allocations: 39.77 kB / 0.5534 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.1426, allocations: 45.69 kB / 0.5535 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.1426, allocations: 11.94 kB / 0.5535 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.1426, allocations: 4 kB / 0.5535 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1426, allocations: 7.984 kB / 0.5535 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1436, allocations: 405.3 kB / 0.5539 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1436, allocations: 7.938 kB / 0.5539 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.1442, allocations: 127.9 kB / 0.554 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1442, allocations: 4 kB / 0.554 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1442, allocations: 12 kB / 0.554 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.1443, allocations: 11.88 kB / 0.5541 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1443, allocations: 4 kB / 0.5541 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1453, allocations: 1.086 MB / 0.5551 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1454, allocations: 120.8 kB / 0.5552 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.1455, allocations: 8 kB / 0.5552 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.1459, allocations: 15.94 kB / 0.5553 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1459, allocations: 27.97 kB / 0.5553 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.1459, allocations: 15.98 kB / 0.5553 GB, free: 3.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1461, allocations: 174 kB / 0.5555 GB, free: 3.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 0 / 0.5555 GB, free: 3.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000796/0.1469, allocations: 139.7 kB / 0.5556 GB, free: 3.082 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.000221/0.1471, allocations: 111.1 kB / 0.5557 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.1477, allocations: 349.5 kB / 0.556 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1478, allocations: 4 kB / 0.556 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.1479, allocations: 136 kB / 0.5562 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.1491, allocations: 104.7 kB / 0.5563 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.1521, allocations: 1.974 MB / 0.5582 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.1527, allocations: 0.8275 MB / 0.559 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.1529, allocations: 52.16 kB / 0.5591 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.153, allocations: 35.38 kB / 0.5591 GB, free: 15.41 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.153, allocations: 0 / 0.5591 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Templates: time 0.009158/0.1622, allocations: 4.164 MB / 0.5632 GB, free: 11.29 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.158719141036272]