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.001604/0.001604, allocations: 122.6 kB / 18.46 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.001863/0.001863, allocations: 203.3 kB / 21.4 MB, free: 1.648 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.517/1.517, allocations: 227.4 MB / 251.6 MB, free: 260 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.2458/0.2458, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.002272/0.002272, allocations: 81.45 kB / 490.2 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 62.44 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003132/0.1252, allocations: 1.935 MB / 0.5415 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.1262, allocations: 0.5649 MB / 0.5421 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.1263, allocations: 4 kB / 0.5421 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1264, allocations: 19.73 kB / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.1265, allocations: 39.64 kB / 0.5422 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1267, allocations: 51.88 kB / 0.5422 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1269, allocations: 151.2 kB / 0.5423 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1271, allocations: 61.64 kB / 0.5424 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1273, allocations: 59.78 kB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1274, allocations: 67.7 kB / 0.5425 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1274, allocations: 12 kB / 0.5425 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.1275, allocations: 16 kB / 0.5426 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1275, allocations: 31.84 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.1276, allocations: 71.66 kB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1279, allocations: 155.3 kB / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1279, allocations: 0 / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1279, allocations: 0 / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1279, allocations: 0 / 0.5428 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.0005845/0.1285, allocations: 446.8 kB / 0.5432 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1285, allocations: 8.031 kB / 0.5432 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1287, allocations: 24.84 kB / 0.5433 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1289, allocations: 208.2 kB / 0.5435 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1289, allocations: 8.375 kB / 0.5435 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.129, allocations: 20.33 kB / 0.5435 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1293, allocations: 133.7 kB / 0.5436 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1293, allocations: 0 / 0.5436 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1293, allocations: 12 kB / 0.5436 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1293, allocations: 0 / 0.5436 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1295, allocations: 83.95 kB / 0.5437 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.1302, allocations: 464.3 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.1304, allocations: 130.3 kB / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1306, allocations: 59.83 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1306, allocations: 4 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1306, allocations: 30.56 kB / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1306, allocations: 0 / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001495/0.1321, allocations: 0.8181 MB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1322, allocations: 51.41 kB / 0.5452 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1323, allocations: 143.2 kB / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1323, allocations: 29.7 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.1324, allocations: 116.4 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.1325, allocations: 75.38 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.1325, allocations: 33.7 kB / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1327, allocations: 326.8 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.1328, allocations: 43.98 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1329, allocations: 75.34 kB / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1331, allocations: 135.3 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1331, allocations: 0 / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003701/0.1335, allocations: 202.3 kB / 0.5463 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1335, allocations: 9.969 kB / 0.5463 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1336, allocations: 0 / 0.5463 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.1337, allocations: 52.8 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1339, allocations: 39.92 kB / 0.5464 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.1354, allocations: 1.738 MB / 0.5481 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.1355, allocations: 0 / 0.5481 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1355, allocations: 12 kB / 0.5481 GB, free: 11.07 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.0001161/0.1357, allocations: 125.7 kB / 0.5483 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1357, allocations: 15.91 kB / 0.5483 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.1358, allocations: 29.23 kB / 0.5483 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1358, allocations: 3.938 kB / 0.5483 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1358, allocations: 0 / 0.5483 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1358, allocations: 0 / 0.5483 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.1365, allocations: 0.5467 MB / 0.5488 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1366, allocations: 48 / 0.5488 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1367, allocations: 40 kB / 0.5489 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.1368, allocations: 36.83 kB / 0.5489 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1369, allocations: 0 / 0.5489 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.138, allocations: 1.485 MB / 0.5504 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1381, allocations: 3.938 kB / 0.5504 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.1386, allocations: 353.8 kB / 0.5507 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.1386, allocations: 89.05 kB / 0.5508 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1387, allocations: 8 kB / 0.5508 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.1387, allocations: 0 / 0.5508 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1388, allocations: 23.91 kB / 0.5508 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1388, allocations: 4 kB / 0.5508 GB, free: 8.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.1389, allocations: 106.5 kB / 0.5509 GB, free: 7.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1389, allocations: 0 / 0.5509 GB, free: 7.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1392, allocations: 48.06 kB / 0.551 GB, free: 7.918 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.0001265/0.1394, allocations: 99.19 kB / 0.5511 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.1399, allocations: 258.8 kB / 0.5513 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1399, allocations: 0 / 0.5513 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1402, allocations: 198.6 kB / 0.5515 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.0003119/0.1405, allocations: 20.02 kB / 0.5515 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.1412, allocations: 452.6 kB / 0.552 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1416, allocations: 0.7166 MB / 0.5527 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.1416, allocations: 9.422 kB / 0.5527 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1417, allocations: 15.44 kB / 0.5527 GB, free: 6.086 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1417, allocations: 0 / 0.5527 GB, free: 6.086 MB / 414.1 MB Notification: Performance of Templates: time 0.004784/0.1465, allocations: 1.643 MB / 0.5543 GB, free: 4.449 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.0194989163428545]