Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001406/0.001406, allocations: 117 kB / 19.12 MB, free: 3.922 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.001514/0.001514, allocations: 214.6 kB / 22.08 MB, free: 0.9727 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.458/1.458, allocations: 227.4 MB / 252.3 MB, free: 100 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.2283/0.2283, 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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 81.23 kB / 490.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 62.45 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003255/0.1258, allocations: 1.852 MB / 0.5421 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.1262, allocations: 151.4 kB / 0.5423 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.1263, allocations: 4 kB / 0.5423 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.14e-05/0.1264, allocations: 23.78 kB / 0.5423 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1265, allocations: 59.48 kB / 0.5424 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1267, allocations: 35.95 kB / 0.5424 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1269, allocations: 187.1 kB / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1271, allocations: 61.5 kB / 0.5426 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.1272, allocations: 67.78 kB / 0.5427 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1274, allocations: 71.7 kB / 0.5428 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1274, allocations: 12 kB / 0.5428 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.1274, allocations: 16 kB / 0.5428 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1275, allocations: 39.84 kB / 0.5428 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.1276, allocations: 87.59 kB / 0.5429 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1278, allocations: 179.2 kB / 0.5431 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1278, allocations: 0 / 0.5431 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1279, allocations: 0 / 0.5431 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1279, allocations: 0 / 0.5431 GB, free: 1.414 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006513/0.1285, allocations: 455 kB / 0.5435 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1286, allocations: 8.031 kB / 0.5435 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1286, allocations: 20.84 kB / 0.5436 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1289, allocations: 216 kB / 0.5438 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1289, allocations: 12.7 kB / 0.5438 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1289, allocations: 28.27 kB / 0.5438 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1292, allocations: 166.1 kB / 0.544 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1292, allocations: 4.188 kB / 0.544 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.1293, allocations: 15.86 kB / 0.544 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1293, allocations: 4 kB / 0.544 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1294, allocations: 83.95 kB / 0.5441 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.1303, allocations: 0.619 MB / 0.5447 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1305, allocations: 129.1 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.1306, allocations: 57.7 kB / 0.5448 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1307, allocations: 0 / 0.5448 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1307, allocations: 34.56 kB / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.1307, allocations: 0 / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007859/0.1315, allocations: 377.5 kB / 0.5452 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1316, allocations: 85.05 kB / 0.5453 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1317, allocations: 127.1 kB / 0.5454 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.1317, allocations: 29.7 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1318, allocations: 136.2 kB / 0.5456 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.1319, allocations: 59.48 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.1319, allocations: 37.7 kB / 0.5457 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1321, allocations: 322.8 kB / 0.546 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.1322, allocations: 35.98 kB / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1323, allocations: 104.6 kB / 0.5461 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1325, allocations: 156.7 kB / 0.5463 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1325, allocations: 0 / 0.5463 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003597/0.1329, allocations: 223.2 kB / 0.5465 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1329, allocations: 12 kB / 0.5465 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1329, allocations: 0 / 0.5465 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.1331, allocations: 53.92 kB / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1333, allocations: 39.92 kB / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.1358, allocations: 2.991 MB / 0.5495 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.1359, allocations: 15.89 kB / 0.5495 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.1359, allocations: 8 kB / 0.5495 GB, free: 10.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.136, allocations: 144.8 kB / 0.5497 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.1361, allocations: 15.91 kB / 0.5497 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.1362, allocations: 16.8 kB / 0.5497 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1362, allocations: 11.92 kB / 0.5497 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1362, allocations: 0 / 0.5497 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1362, allocations: 0 / 0.5497 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.1365, allocations: 229.6 kB / 0.5499 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1365, allocations: 0 / 0.5499 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.1367, allocations: 27.98 kB / 0.55 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.1368, allocations: 45.7 kB / 0.55 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1368, allocations: 11.92 kB / 0.55 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.1393, allocations: 2.986 MB / 0.5529 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1393, allocations: 0 / 0.5529 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.1397, allocations: 384.5 kB / 0.5533 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1398, allocations: 85.06 kB / 0.5534 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1398, allocations: 4.062 kB / 0.5534 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1399, allocations: 3.938 kB / 0.5534 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1399, allocations: 15.98 kB / 0.5534 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.14, allocations: 4 kB / 0.5534 GB, free: 5.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.14, allocations: 101.2 kB / 0.5535 GB, free: 5.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.14, allocations: 4 kB / 0.5535 GB, free: 5.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.1405, allocations: 55.89 kB / 0.5536 GB, free: 5.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.000125/0.1406, allocations: 103.3 kB / 0.5537 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.1412, allocations: 353.5 kB / 0.554 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1412, allocations: 0 / 0.554 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.1415, allocations: 281.3 kB / 0.5543 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.142, allocations: 29.48 kB / 0.5543 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1431, allocations: 0.6682 MB / 0.555 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.1436, allocations: 0.7242 MB / 0.5557 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.1437, allocations: 15.44 kB / 0.5557 GB, free: 3.367 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1437, allocations: 0 / 0.5557 GB, free: 3.367 MB / 414.1 MB Notification: Performance of Templates: time 0.005343/0.149, allocations: 3.135 MB / 0.5587 GB, free: 244 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.326624626060948]