Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009082/0.0009082, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.002706, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001371/0.001371, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.00293, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.073/1.073, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.202, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2972/0.2972, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02861/0.3258, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.649e-05, allocations: 11.72 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00202/0.002037, allocations: 1.929 MB / 294.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.002245, allocations: 159.4 kB / 294.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.002309, allocations: 4 kB / 294.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.002357, allocations: 19.73 kB / 294.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.002444, allocations: 59.42 kB / 295 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.466e-05/0.002519, allocations: 35.95 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.002677, allocations: 195.5 kB / 295.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.002793, allocations: 42.44 kB / 295.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.002925, allocations: 115.8 kB / 295.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.003029, allocations: 51.88 kB / 295.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.003058, allocations: 12 kB / 295.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.00308, allocations: 16 kB / 295.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.003112, allocations: 27.88 kB / 295.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.003158, allocations: 47.94 kB / 295.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.003329, allocations: 115.5 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.00334, allocations: 4 kB / 295.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00334, allocations: 0 / 295.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.00335, allocations: 4 kB / 295.6 MB, free: 3.379 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.0004934/0.003843, allocations: 389.4 kB / 296 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.003885, allocations: 12.03 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.003928, allocations: 24.92 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004071, allocations: 137.5 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004082, allocations: 12.64 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.004114, allocations: 16.38 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.004267, allocations: 134.1 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.004278, allocations: 192 / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.00429, allocations: 16.31 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.004297, allocations: 4.375 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.341e-05/0.00436, allocations: 48.56 kB / 296.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.004819, allocations: 415.7 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.004942, allocations: 93.14 kB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.00498, allocations: 29.7 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.004989, allocations: 4 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.005011, allocations: 38.55 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.005012, allocations: 4 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003673/0.005379, allocations: 167.3 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.005417, allocations: 85.11 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.005494, allocations: 138.3 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.005506, allocations: 25.7 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.00556, allocations: 132.2 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.005597, allocations: 59.47 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.005635, allocations: 41.69 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.005725, allocations: 330.7 kB / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.005744, allocations: 12 kB / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.005802, allocations: 84.48 kB / 298 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.005898, allocations: 124.4 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.005901, allocations: 0 / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001765/0.006078, allocations: 163.2 kB / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.006094, allocations: 7.984 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.0061, allocations: 4 kB / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.006264, allocations: 37.69 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.006388, allocations: 51.91 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.007702, allocations: 2.523 MB / 301 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.007744, allocations: 15.89 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.007751, allocations: 8 kB / 301 MB, free: 13.61 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 6.766e-05/0.007818, allocations: 129.9 kB / 301.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.007844, allocations: 19.86 kB / 301.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.007864, allocations: 12.78 kB / 301.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007866, allocations: 4 kB / 301.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.007869, allocations: 0 / 301.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.007873, allocations: 3.984 kB / 301.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.008004, allocations: 105.9 kB / 301.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.008008, allocations: 3.984 kB / 301.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.008103, allocations: 35.97 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.008117, allocations: 15.83 kB / 301.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.561e-05/0.008202, allocations: 37.7 kB / 301.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.008212, allocations: 11.92 kB / 301.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.009513, allocations: 2.527 MB / 303.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.009515, allocations: 7.922 kB / 303.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.009703, allocations: 315.2 kB / 304.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.009711, allocations: 0 / 304.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.009767, allocations: 4 kB / 304.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.009787, allocations: 15.97 kB / 304.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.009791, allocations: 4.031 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.142e-05/0.009813, allocations: 32.83 kB / 304.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009813, allocations: 0 / 304.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.01005, allocations: 55.89 kB / 304.3 MB, free: 10.05 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 8.344e-05/0.01014, allocations: 80.83 kB / 304.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.01044, allocations: 334.3 kB / 304.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.01045, allocations: 4 kB / 304.7 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.0106, allocations: 278 kB / 305 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.01093, allocations: 360.6 kB / 305.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.01341, allocations: 395 kB / 305.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.01346, allocations: 83.97 kB / 305.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.0135, allocations: 13.77 kB / 305.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.01357, allocations: 83.34 kB / 305.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01357, allocations: 0 / 305.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of Templates: time 0.004322/0.01789, allocations: 2.376 MB / 308.3 MB, free: 5.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.0489520598202944]