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.001104/0.001104, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001938/0.003042, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007395/0.0007395, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009257/0.001665, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.069/1.069, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.169, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.3019/0.3019, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02943/0.3314, allocations: 13.24 MB / 292.8 MB, free: 6.352 MB / 282.7 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 1.723e-06/1.723e-06, allocations: 0 / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.335e-05, allocations: 10 kB / 294.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003105/0.003128, allocations: 1.927 MB / 296 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.00348, allocations: 159.4 kB / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.003548, allocations: 7.938 kB / 296.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.003608, allocations: 23.78 kB / 296.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.003722, allocations: 55.48 kB / 296.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.168e-05/0.003814, allocations: 31.95 kB / 296.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.004007, allocations: 195 kB / 296.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.004132, allocations: 46.44 kB / 296.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.004289, allocations: 115.8 kB / 296.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.004406, allocations: 59.75 kB / 296.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.00444, allocations: 12 kB / 296.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.004467, allocations: 16 kB / 296.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.004498, allocations: 23.94 kB / 296.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.004554, allocations: 51.88 kB / 296.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.004754, allocations: 111.5 kB / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.004767, allocations: 0 / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004768, allocations: 0 / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.004778, allocations: 0 / 296.9 MB, free: 2.238 MB / 282.7 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.0005451/0.005323, allocations: 393.5 kB / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.005363, allocations: 12.92 kB / 297.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.005422, allocations: 28.91 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.005602, allocations: 137.5 kB / 297.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.005622, allocations: 16.69 kB / 297.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.005663, allocations: 20.38 kB / 297.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.005846, allocations: 122.2 kB / 297.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.005865, allocations: 12.16 kB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.005878, allocations: 4.375 kB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.005886, allocations: 8.375 kB / 297.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.005973, allocations: 50.84 kB / 297.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.006642, allocations: 403.8 kB / 298.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.006797, allocations: 97.12 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.00684, allocations: 33.72 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.006851, allocations: 0 / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.006879, allocations: 38.69 kB / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.00688, allocations: 0 / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004815/0.007362, allocations: 183.3 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.007403, allocations: 77.11 kB / 298.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.007495, allocations: 137.2 kB / 298.6 MB, free: 356 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.007508, allocations: 33.7 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.007569, allocations: 124.3 kB / 298.8 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.007613, allocations: 67.39 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.007669, allocations: 37.69 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.007778, allocations: 326.8 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.00781, allocations: 15.98 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.007882, allocations: 84.56 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.008007, allocations: 125.3 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.008011, allocations: 4 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002501/0.008261, allocations: 159.6 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.008279, allocations: 15.06 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008286, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.008477, allocations: 45.64 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.008632, allocations: 39.97 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.01025, allocations: 2.524 MB / 302.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.01033, allocations: 19.83 kB / 302.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01034, allocations: 8 kB / 302.2 MB, free: 12.46 MB / 298.7 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 8.216e-05/0.01042, allocations: 117.9 kB / 302.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.01046, allocations: 23.92 kB / 302.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.01049, allocations: 16.78 kB / 302.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01049, allocations: 4 kB / 302.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.0105, allocations: 7.984 kB / 302.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01051, allocations: 0 / 302.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.01071, allocations: 97.81 kB / 302.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01071, allocations: 3.938 kB / 302.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.01085, allocations: 39.97 kB / 302.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01087, allocations: 15.83 kB / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.01097, allocations: 45.67 kB / 302.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01099, allocations: 4 kB / 302.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.01245, allocations: 2.527 MB / 305.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01245, allocations: 4 kB / 305.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.0127, allocations: 319.9 kB / 305.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01272, allocations: 4 kB / 305.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.01281, allocations: 4 kB / 305.5 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.01286, allocations: 15.98 kB / 305.5 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.01287, allocations: 7.938 kB / 305.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.328e-05/0.0129, allocations: 23.86 kB / 305.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0129, allocations: 7.938 kB / 305.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004048/0.0133, allocations: 59.89 kB / 305.6 MB, free: 8.898 MB / 298.7 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.0001144/0.01342, allocations: 76.41 kB / 305.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.01379, allocations: 330.5 kB / 306 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.01381, allocations: 4 kB / 306 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.01401, allocations: 282.2 kB / 306.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.01446, allocations: 363.6 kB / 306.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.01825, allocations: 393.6 kB / 307 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.01835, allocations: 83.97 kB / 307.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.371e-05/0.01842, allocations: 13.48 kB / 307.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.01854, allocations: 75.36 kB / 307.2 MB, free: 7.133 MB / 298.7 MB Notification: Performance of SimCode: time 1.824e-06/0.01854, allocations: 0 / 307.2 MB, free: 7.133 MB / 298.7 MB Notification: Performance of Templates: time 0.005564/0.0241, allocations: 2.363 MB / 309.5 MB, free: 4.855 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.992238773033023]