Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 169.4 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 32.82 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 440.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.081e-05, allocations: 2.281 kB / 440.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002953/0.002984, allocations: 1.783 MB / 441.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.003336, allocations: 155.4 kB / 442 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.003413, allocations: 7.938 kB / 442 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.003479, allocations: 19.8 kB / 442 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.003617, allocations: 55.48 kB / 442.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.00376, allocations: 39.94 kB / 442.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.003985, allocations: 191 kB / 442.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.004152, allocations: 41.72 kB / 442.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.004325, allocations: 103.8 kB / 442.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.004451, allocations: 59.8 kB / 442.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.004489, allocations: 16 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/0.004521, allocations: 12 kB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.004559, allocations: 35.91 kB / 442.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.004631, allocations: 59.84 kB / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.004867, allocations: 187.4 kB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.00487, allocations: 0 / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004871, allocations: 0 / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.004877, allocations: 0 / 442.8 MB, free: 5.449 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.0005955/0.005472, allocations: 378 kB / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.005508, allocations: 8.031 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.005555, allocations: 20.83 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.005759, allocations: 145.5 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.005778, allocations: 12.7 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.005821, allocations: 24.33 kB / 443.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.006102, allocations: 170.1 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.006118, allocations: 192 / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.006138, allocations: 8.312 kB / 443.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.006147, allocations: 8.359 kB / 443.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.006313, allocations: 96.55 kB / 443.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.007112, allocations: 492 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.007366, allocations: 129.2 kB / 444.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.007451, allocations: 49.7 kB / 444.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.00747, allocations: 7.938 kB / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.007499, allocations: 34.56 kB / 444.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.007501, allocations: 0 / 444.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007466/0.008247, allocations: 227.2 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.008315, allocations: 85.05 kB / 444.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.008452, allocations: 130 kB / 444.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.008474, allocations: 29.7 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.008563, allocations: 132.2 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.008618, allocations: 59.48 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.008683, allocations: 37.7 kB / 445 MB, free: 3.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.008852, allocations: 326.8 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.008925, allocations: 43.84 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.009055, allocations: 103.6 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.009266, allocations: 152.4 kB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009269, allocations: 0 / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000393/0.009662, allocations: 223 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.009677, allocations: 8 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.009682, allocations: 0 / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.009899, allocations: 49.69 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.01003, allocations: 36.17 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.208/0.218, allocations: 2.733 MB / 448.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2181, allocations: 17.2 kB / 448.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2181, allocations: 7.062 kB / 448.7 MB, free: 20.02 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 0.0001181/0.2183, allocations: 142.2 kB / 448.9 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.2183, allocations: 15.03 kB / 448.9 MB, free: 19.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.2183, allocations: 15.02 kB / 448.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2183, allocations: 2.219 kB / 448.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2184, allocations: 1.094 kB / 448.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2184, allocations: 5 kB / 448.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2186, allocations: 158.4 kB / 449.1 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2186, allocations: 0 / 449.1 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2188, allocations: 27.5 kB / 449.1 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.2189, allocations: 47.53 kB / 449.1 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2189, allocations: 10.53 kB / 449.1 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.2203, allocations: 2.726 MB / 451.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2203, allocations: 1.188 kB / 451.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.2207, allocations: 371.9 kB / 452.2 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.2207, allocations: 13.64 kB / 452.2 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2207, allocations: 6.219 kB / 452.3 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2209, allocations: 9.391 kB / 452.3 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.2209, allocations: 17.53 kB / 452.3 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2209, allocations: 3.5 kB / 452.3 MB, free: 17.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.221, allocations: 101.7 kB / 452.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.221, allocations: 0 / 452.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.2214, allocations: 54.53 kB / 452.4 MB, free: 16.94 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 0.0001051/0.2215, allocations: 99.05 kB / 452.5 MB, free: 16.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.222, allocations: 347.1 kB / 452.9 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.222, allocations: 0 / 452.9 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.2222, allocations: 283.7 kB / 453.1 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.2227, allocations: 34.08 kB / 453.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/0.2235, allocations: 0.5088 MB / 453.7 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2236, allocations: 117.5 kB / 453.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.2237, allocations: 13.45 kB / 453.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.2237, allocations: 13.75 kB / 453.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2237, allocations: 0 / 453.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Templates: time 0.007268/0.231, allocations: 2.064 MB / 455.9 MB, free: 15.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.715490382164717]