Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001763/0.001763, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.00221/0.00221, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.512/1.512, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2402/0.2402, allocations: 46.89 MB / 358.1 MB, free: 10.61 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 83.86 kB / 0.4923 GB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 65.99 MB / 0.5568 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.0033/0.1282, allocations: 1.869 MB / 0.5586 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.1286, allocations: 151.4 kB / 0.5588 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.1287, allocations: 4 kB / 0.5588 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.1288, allocations: 27.72 kB / 0.5588 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.129, allocations: 51.55 kB / 0.5588 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.1292, allocations: 35.95 kB / 0.5589 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1294, allocations: 187.1 kB / 0.559 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1296, allocations: 45.53 kB / 0.5591 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1297, allocations: 67.78 kB / 0.5592 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1299, allocations: 75.64 kB / 0.5592 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.1299, allocations: 12 kB / 0.5592 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.13, allocations: 16 kB / 0.5593 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.13, allocations: 31.91 kB / 0.5593 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1301, allocations: 91.53 kB / 0.5594 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1304, allocations: 175.3 kB / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1304, allocations: 0 / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1304, allocations: 0 / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1304, allocations: 0 / 0.5595 GB, free: 3.172 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006965/0.1311, allocations: 459 kB / 0.56 GB, free: 2.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.1312, allocations: 11.97 kB / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.1312, allocations: 24.84 kB / 0.56 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1315, allocations: 208.2 kB / 0.5602 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1315, allocations: 12.7 kB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.1316, allocations: 24.33 kB / 0.5602 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1319, allocations: 174.1 kB / 0.5604 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.132, allocations: 192 / 0.5604 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.132, allocations: 7.938 kB / 0.5604 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.132, allocations: 4 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1322, allocations: 83.95 kB / 0.5605 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.1331, allocations: 0.6112 MB / 0.5611 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1334, allocations: 129.1 kB / 0.5612 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.1335, allocations: 49.64 kB / 0.5613 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1335, allocations: 4 kB / 0.5613 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1335, allocations: 38.69 kB / 0.5613 GB, free: 1.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1335, allocations: 4 kB / 0.5613 GB, free: 1.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008575/0.1344, allocations: 373.3 kB / 0.5617 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1344, allocations: 81.11 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1346, allocations: 131.5 kB / 0.5619 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1346, allocations: 25.7 kB / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.1347, allocations: 132.2 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1347, allocations: 63.47 kB / 0.5621 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1348, allocations: 41.7 kB / 0.5621 GB, free: 236 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.135, allocations: 322.8 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.135, allocations: 35.98 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1351, allocations: 96.58 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1354, allocations: 164.6 kB / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1354, allocations: 0 / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003804/0.1357, allocations: 223.4 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1358, allocations: 8 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1358, allocations: 0 / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.136, allocations: 49.89 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1361, allocations: 44 kB / 0.563 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.1386, allocations: 2.995 MB / 0.5659 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-05/0.1386, allocations: 15.89 kB / 0.566 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1387, allocations: 12 kB / 0.566 GB, free: 11.91 MB / 430.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.0001408/0.1388, allocations: 137.6 kB / 0.5661 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1389, allocations: 11.91 kB / 0.5661 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.1389, allocations: 20.66 kB / 0.5661 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1389, allocations: 4.062 kB / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1389, allocations: 4 kB / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1389, allocations: 0 / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1392, allocations: 229.6 kB / 0.5664 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1392, allocations: 0 / 0.5664 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1394, allocations: 27.98 kB / 0.5664 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.1395, allocations: 45.64 kB / 0.5664 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1396, allocations: 15.92 kB / 0.5665 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.1418, allocations: 2.986 MB / 0.5694 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1418, allocations: 4.062 kB / 0.5694 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.1423, allocations: 368.4 kB / 0.5697 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.1423, allocations: 85.06 kB / 0.5698 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1424, allocations: 8.062 kB / 0.5698 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1425, allocations: 7.938 kB / 0.5698 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1425, allocations: 11.98 kB / 0.5698 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1425, allocations: 4 kB / 0.5698 GB, free: 7.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.491e-05/0.1426, allocations: 108.2 kB / 0.5699 GB, free: 7.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1426, allocations: 0 / 0.5699 GB, free: 7.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.143, allocations: 51.95 kB / 0.57 GB, free: 7.426 MB / 430.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.0001239/0.1432, allocations: 107.1 kB / 0.5701 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.1438, allocations: 345.1 kB / 0.5704 GB, free: 6.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1438, allocations: 0 / 0.5704 GB, free: 6.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1441, allocations: 277.8 kB / 0.5707 GB, free: 6.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.1446, allocations: 46.05 kB / 0.5707 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1457, allocations: 0.6738 MB / 0.5714 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.146, allocations: 0.7203 MB / 0.5721 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1461, allocations: 15.44 kB / 0.5721 GB, free: 5.141 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1461, allocations: 0 / 0.5721 GB, free: 5.141 MB / 430.1 MB Notification: Performance of Templates: time 0.005415/0.1515, allocations: 3.152 MB / 0.5752 GB, free: 1.992 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.400374956894666]