Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001706/0.001707, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.001978/0.001979, allocations: 208.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.513/1.513, allocations: 227.4 MB / 252.3 MB, free: 88 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.2219/0.2219, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 84.19 kB / 490.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1238, allocations: 62.45 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00347/0.1273, allocations: 1.924 MB / 0.5422 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1284, allocations: 0.5649 MB / 0.5428 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1285, allocations: 7.938 kB / 0.5428 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1286, allocations: 23.8 kB / 0.5428 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.439e-05/0.1287, allocations: 43.62 kB / 0.5428 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.129, allocations: 43.89 kB / 0.5429 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1292, allocations: 151.2 kB / 0.543 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1294, allocations: 53.66 kB / 0.5431 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1295, allocations: 67.78 kB / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1297, allocations: 67.69 kB / 0.5432 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1297, allocations: 12 kB / 0.5432 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.1298, allocations: 12 kB / 0.5432 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.1298, allocations: 31.86 kB / 0.5433 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.1299, allocations: 67.67 kB / 0.5433 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1301, allocations: 159.3 kB / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1301, allocations: 0 / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1302, allocations: 0 / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1302, allocations: 0 / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006198/0.1308, allocations: 446.8 kB / 0.5439 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1308, allocations: 15.97 kB / 0.5439 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.131, allocations: 24.83 kB / 0.5439 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1313, allocations: 210.4 kB / 0.5441 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1313, allocations: 16.36 kB / 0.5442 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.1314, allocations: 16.33 kB / 0.5442 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1316, allocations: 129.8 kB / 0.5443 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1317, allocations: 4 kB / 0.5443 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1317, allocations: 4 kB / 0.5443 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1317, allocations: 4 kB / 0.5443 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1319, allocations: 79.95 kB / 0.5444 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.1326, allocations: 468.2 kB / 0.5448 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1329, allocations: 118.5 kB / 0.5449 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.133, allocations: 60.83 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.133, allocations: 0 / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1331, allocations: 38.56 kB / 0.545 GB, free: 15.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1331, allocations: 7.938 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001562/0.1347, allocations: 0.8012 MB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1347, allocations: 55.41 kB / 0.5459 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1349, allocations: 148.5 kB / 0.546 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1349, allocations: 29.7 kB / 0.5461 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.135, allocations: 116.4 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.1351, allocations: 75.31 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1351, allocations: 37.7 kB / 0.5463 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1353, allocations: 322.8 kB / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1354, allocations: 43.97 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1356, allocations: 83.28 kB / 0.5467 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1358, allocations: 127.4 kB / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1358, allocations: 0 / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003941/0.1362, allocations: 202.3 kB / 0.547 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1362, allocations: 14.06 kB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1363, allocations: 8.031 kB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.1364, allocations: 48.77 kB / 0.5471 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1366, allocations: 35.97 kB / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.1383, allocations: 1.738 MB / 0.5488 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.1384, allocations: 7.984 kB / 0.5488 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1385, allocations: 8 kB / 0.5488 GB, free: 11.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.1386, allocations: 137.8 kB / 0.549 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1387, allocations: 11.91 kB / 0.549 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.1387, allocations: 17.19 kB / 0.549 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1387, allocations: 3.938 kB / 0.549 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1387, allocations: 4 kB / 0.549 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1387, allocations: 3.984 kB / 0.549 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.1396, allocations: 0.5428 MB / 0.5495 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.1396, allocations: 7.984 kB / 0.5495 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1398, allocations: 31.98 kB / 0.5496 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.1399, allocations: 28.84 kB / 0.5496 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1399, allocations: 8 kB / 0.5496 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.1412, allocations: 1.477 MB / 0.551 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1412, allocations: 0 / 0.551 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.1418, allocations: 349 kB / 0.5514 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.1419, allocations: 89.02 kB / 0.5515 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1419, allocations: 11.98 kB / 0.5515 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.142, allocations: 8 kB / 0.5515 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1421, allocations: 15.86 kB / 0.5515 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1421, allocations: 4 kB / 0.5515 GB, free: 8.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1422, allocations: 122.8 kB / 0.5516 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1422, allocations: 0 / 0.5516 GB, free: 7.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.1426, allocations: 36 kB / 0.5517 GB, free: 7.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.1427, allocations: 95.25 kB / 0.5517 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.1433, allocations: 266.8 kB / 0.552 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1433, allocations: 0 / 0.552 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1436, allocations: 190.5 kB / 0.5522 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1439, allocations: 21.86 kB / 0.5522 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.1448, allocations: 479.8 kB / 0.5527 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.1452, allocations: 0.7166 MB / 0.5534 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1452, allocations: 23.42 kB / 0.5534 GB, free: 6.051 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1452, allocations: 0 / 0.5534 GB, free: 6.051 MB / 414.1 MB Notification: Performance of Templates: time 0.004886/0.1501, allocations: 2.454 MB / 0.5558 GB, free: 3.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.048809441970661]