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.0008364/0.0008364, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003406/0.003406, allocations: 161.5 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8826/0.8826, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2478/0.2478, allocations: 32.79 MB / 294.2 MB, free: 1.184 MB / 266.7 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.312e-06/1.312e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.034e-05, allocations: 4.391 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002043/0.002064, allocations: 1.784 MB / 442.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.002347, allocations: 151.4 kB / 442.8 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.00241, allocations: 7.938 kB / 442.8 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.333e-05/0.002464, allocations: 19.8 kB / 442.8 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.002571, allocations: 55.48 kB / 442.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.002702, allocations: 39.94 kB / 442.9 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.002839, allocations: 195 kB / 443.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.002973, allocations: 41.77 kB / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003088, allocations: 107.8 kB / 443.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.003172, allocations: 55.88 kB / 443.3 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.003202, allocations: 12 kB / 443.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.00322, allocations: 19.94 kB / 443.3 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.003247, allocations: 27.91 kB / 443.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.003293, allocations: 63.89 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.00347, allocations: 183.4 kB / 443.6 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003472, allocations: 0 / 443.6 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.003473, allocations: 0 / 443.6 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.003478, allocations: 0 / 443.6 MB, free: 0.9961 MB / 410.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.0003997/0.003878, allocations: 381.9 kB / 443.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.00391, allocations: 8.031 kB / 443.9 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.003944, allocations: 20.84 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.00409, allocations: 149.6 kB / 444.1 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004101, allocations: 8.703 kB / 444.1 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.004132, allocations: 20.33 kB / 444.1 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.004332, allocations: 170.1 kB / 444.3 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.004347, allocations: 4.188 kB / 444.3 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.00436, allocations: 12.31 kB / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004366, allocations: 4.375 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.004477, allocations: 88.48 kB / 444.4 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1721/0.1766, allocations: 491.4 kB / 444.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1768, allocations: 125.1 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.1768, allocations: 54.44 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1769, allocations: 5.531 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1769, allocations: 34.62 kB / 445.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.1769, allocations: 0 / 445.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000457/0.1773, allocations: 219.4 kB / 445.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1774, allocations: 87.19 kB / 445.4 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.1774, allocations: 130.7 kB / 445.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.1774, allocations: 29.52 kB / 445.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.1775, allocations: 136.1 kB / 445.7 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1775, allocations: 53.27 kB / 445.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1775, allocations: 40.8 kB / 445.8 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.1776, allocations: 324.6 kB / 446.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.1776, allocations: 39.84 kB / 446.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.1777, allocations: 112.6 kB / 446.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1778, allocations: 160 kB / 446.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1778, allocations: 0 / 446.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001993/0.178, allocations: 222.4 kB / 446.6 MB, free: 45.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.178, allocations: 5.719 kB / 446.6 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.178, allocations: 2.719 kB / 446.6 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.1781, allocations: 49.89 kB / 446.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.1782, allocations: 36.83 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008936/0.1791, allocations: 2.734 MB / 449.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.1791, allocations: 17.86 kB / 449.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1792, allocations: 6.469 kB / 449.5 MB, free: 42.55 MB / 410.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 5.711e-05/0.1792, allocations: 136.6 kB / 449.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1792, allocations: 13.2 kB / 449.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.1793, allocations: 15.69 kB / 449.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1793, allocations: 6.969 kB / 449.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1793, allocations: 0 / 449.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1793, allocations: 0 / 449.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1794, allocations: 170.5 kB / 449.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1794, allocations: 7.219 kB / 449.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.1795, allocations: 26.06 kB / 449.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.1795, allocations: 44.7 kB / 449.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1795, allocations: 3 kB / 449.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007149/0.1803, allocations: 2.724 MB / 452.6 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1803, allocations: 3.047 kB / 452.6 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.1805, allocations: 371.7 kB / 453 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.1805, allocations: 21.41 kB / 453 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.1805, allocations: 0 / 453 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.1805, allocations: 11.19 kB / 453 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1805, allocations: 12.09 kB / 453 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1806, allocations: 14.66 kB / 453 MB, free: 39.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.57e-05/0.1806, allocations: 99.58 kB / 453.1 MB, free: 39.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1806, allocations: 0 / 453.1 MB, free: 39.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.1809, allocations: 58.73 kB / 453.2 MB, free: 39.15 MB / 410.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 7.437e-05/0.1809, allocations: 91.09 kB / 453.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.1812, allocations: 351.2 kB / 453.6 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1812, allocations: 0 / 453.6 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1813, allocations: 282.2 kB / 453.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1816, allocations: 27.33 kB / 453.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.1822, allocations: 0.5371 MB / 454.5 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.616e-05/0.1822, allocations: 113.5 kB / 454.6 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.1822, allocations: 16.19 kB / 454.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1822, allocations: 0 / 454.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of Templates: time 0.002751/0.185, allocations: 3.247 MB / 457.8 MB, free: 37.82 MB / 410.7 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: 5.015196514315903]