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.002172/0.002172, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002412/0.002412, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.519/1.519, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 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.2169/0.2169, allocations: 34.27 MB / 294.8 MB, free: 14.52 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 1.533e-06/1.533e-06, allocations: 0 / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.279e-05, allocations: 2.281 kB / 442.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003082/0.003115, allocations: 1.788 MB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.003486, allocations: 155.5 kB / 444.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.00356, allocations: 3.938 kB / 444.6 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.524e-05/0.003625, allocations: 19.8 kB / 444.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.003775, allocations: 55.48 kB / 444.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.00393, allocations: 39.94 kB / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.004146, allocations: 187 kB / 444.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.004299, allocations: 45.72 kB / 444.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.004474, allocations: 115.7 kB / 445 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.004596, allocations: 51.88 kB / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.004629, allocations: 12 kB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/0.004662, allocations: 16 kB / 445.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.004703, allocations: 31.84 kB / 445.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.004787, allocations: 59.91 kB / 445.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.005053, allocations: 187.4 kB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005056, allocations: 0 / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005057, allocations: 0 / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.005063, allocations: 0 / 445.4 MB, free: 2.547 MB / 366.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.0006287/0.005692, allocations: 374 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.005733, allocations: 12.03 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.005789, allocations: 16.84 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.006008, allocations: 145.5 kB / 445.9 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.006028, allocations: 12.7 kB / 445.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.006071, allocations: 20.33 kB / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.006385, allocations: 170.1 kB / 446.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.006403, allocations: 192 / 446.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.006424, allocations: 12.38 kB / 446.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.006431, allocations: 8.375 kB / 446.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.006607, allocations: 87.88 kB / 446.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.007422, allocations: 496.1 kB / 446.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.007668, allocations: 129.1 kB / 446.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.00775, allocations: 49.64 kB / 446.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.007766, allocations: 3.938 kB / 446.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.007801, allocations: 42.69 kB / 446.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.007802, allocations: 0 / 446.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007771/0.008579, allocations: 227.1 kB / 447.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.008649, allocations: 77.11 kB / 447.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.008779, allocations: 136.3 kB / 447.4 MB, free: 400 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.008806, allocations: 29.7 kB / 447.4 MB, free: 364 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.0089, allocations: 140.2 kB / 447.5 MB, free: 220 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.008948, allocations: 55.48 kB / 447.6 MB, free: 164 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.009012, allocations: 41.56 kB / 447.6 MB, free: 116 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2268/0.2358, allocations: 322.8 kB / 447.9 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2359, allocations: 35.05 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.236, allocations: 105.8 kB / 448.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.2362, allocations: 146.7 kB / 448.2 MB, free: 18.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2362, allocations: 2.125 kB / 448.2 MB, free: 18.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004345/0.2366, allocations: 227.3 kB / 448.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2366, allocations: 6.062 kB / 448.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2367, allocations: 3.75 kB / 448.5 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.2369, allocations: 48.58 kB / 448.5 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2371, allocations: 39.86 kB / 448.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2385, allocations: 2.729 MB / 451.3 MB, free: 16.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.2386, allocations: 15.42 kB / 451.3 MB, free: 16.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2387, allocations: 7.688 kB / 451.3 MB, free: 16.03 MB / 366.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 9.515e-05/0.2387, allocations: 138.7 kB / 451.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.2388, allocations: 9.125 kB / 451.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.2388, allocations: 19.47 kB / 451.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2388, allocations: 3.875 kB / 451.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2388, allocations: 1.188 kB / 451.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2388, allocations: 1.969 kB / 451.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.239, allocations: 162.2 kB / 451.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.239, allocations: 0.6094 kB / 451.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2392, allocations: 29.22 kB / 451.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.2393, allocations: 46.44 kB / 451.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2393, allocations: 9.875 kB / 451.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.2406, allocations: 2.73 MB / 454.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2406, allocations: 3.312 kB / 454.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.241, allocations: 376.1 kB / 454.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.241, allocations: 14.81 kB / 454.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.241, allocations: 6.156 kB / 454.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2411, allocations: 1.094 kB / 454.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2411, allocations: 15.91 kB / 454.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2411, allocations: 2.859 kB / 454.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.776e-05/0.2412, allocations: 100.6 kB / 454.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2412, allocations: 0 / 454.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.2416, allocations: 54.61 kB / 455 MB, free: 12.67 MB / 366.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 8.988e-05/0.2417, allocations: 100.8 kB / 455.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2422, allocations: 345.6 kB / 455.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2422, allocations: 4.219 kB / 455.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.2424, allocations: 283.9 kB / 455.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.2429, allocations: 35.22 kB / 455.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.2437, allocations: 0.5125 MB / 456.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.779e-05/0.2438, allocations: 116 kB / 456.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.2438, allocations: 12.14 kB / 456.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.2438, allocations: 15.03 kB / 456.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2438, allocations: 5.312 kB / 456.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Templates: time 0.006501/0.2503, allocations: 2.042 MB / 458.4 MB, free: 11.35 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.102689184248447]