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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001998, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006763/0.0006763, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001685, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9271/0.9271, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1898/1.117, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.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.1344/0.1344, allocations: 32.81 MB / 272 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02031/0.1547, allocations: 12.53 MB / 284.5 MB, free: 9.742 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 2.955e-06/2.955e-06, allocations: 0 / 285.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.241e-05, allocations: 6.25 kB / 285.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003543/0.003576, allocations: 1.919 MB / 287.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000401/0.003977, allocations: 167.3 kB / 287.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.004047, allocations: 4 kB / 287.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.719e-05/0.004114, allocations: 19.8 kB / 287.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.004244, allocations: 59.48 kB / 288 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.004358, allocations: 35.94 kB / 288 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.004578, allocations: 198.9 kB / 288.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.004731, allocations: 42.38 kB / 288.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.004921, allocations: 119.8 kB / 288.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.005043, allocations: 51.88 kB / 288.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.005076, allocations: 12 kB / 288.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.005104, allocations: 16 kB / 288.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.005139, allocations: 31.88 kB / 288.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.005202, allocations: 47.94 kB / 288.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.0054, allocations: 111.5 kB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.005413, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005414, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.005424, allocations: 0 / 288.6 MB, free: 5.633 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.0005422/0.005966, allocations: 396.2 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.006006, allocations: 12.03 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.006066, allocations: 20.92 kB / 289.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.006267, allocations: 145.5 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.006285, allocations: 12.7 kB / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.00633, allocations: 16.38 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.006534, allocations: 134.1 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.006552, allocations: 4.188 kB / 289.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.006566, allocations: 4.375 kB / 289.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.006575, allocations: 4.375 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.006665, allocations: 50.91 kB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.007251, allocations: 411.7 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.007406, allocations: 101.1 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.00745, allocations: 33.7 kB / 290 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.007461, allocations: 4.125 kB / 290 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.007493, allocations: 34.56 kB / 290 MB, free: 4.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.007495, allocations: 0 / 290 MB, free: 4.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005052/0.008, allocations: 179.1 kB / 290.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.008041, allocations: 77.11 kB / 290.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.00814, allocations: 133.6 kB / 290.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.008156, allocations: 29.7 kB / 290.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.008222, allocations: 132.2 kB / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.008264, allocations: 59.47 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.008319, allocations: 37.69 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.008421, allocations: 326.8 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.008448, allocations: 16 kB / 291 MB, free: 3.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.008523, allocations: 88.48 kB / 291.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.008657, allocations: 116.4 kB / 291.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.00866, allocations: 0 / 291.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002447/0.008905, allocations: 163 kB / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.008922, allocations: 4 kB / 291.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.008929, allocations: 11.94 kB / 291.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.009115, allocations: 49.94 kB / 291.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.009279, allocations: 35.98 kB / 291.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.01104, allocations: 2.538 MB / 294 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.01112, allocations: 15.89 kB / 294 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01113, allocations: 8 kB / 294 MB, free: 15.85 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 0.0001053/0.01124, allocations: 117.8 kB / 294.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.0113, allocations: 19.92 kB / 294.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.01134, allocations: 20.72 kB / 294.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01134, allocations: 0 / 294.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.01135, allocations: 0 / 294.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.01135, allocations: 4 kB / 294.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.01158, allocations: 109.8 kB / 294.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01159, allocations: 0 / 294.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.01174, allocations: 42.08 kB / 294.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.01176, allocations: 23.75 kB / 294.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.01187, allocations: 33.7 kB / 294.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01189, allocations: 8 kB / 294.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.01337, allocations: 2.517 MB / 296.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01337, allocations: 0 / 296.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01364, allocations: 326.8 kB / 297.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01366, allocations: 4 kB / 297.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01376, allocations: 4 kB / 297.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.01379, allocations: 15.97 kB / 297.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.0138, allocations: 3.938 kB / 297.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.01383, allocations: 24.83 kB / 297.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01383, allocations: 0 / 297.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004449/0.01428, allocations: 59.89 kB / 297.3 MB, free: 12.3 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.0001227/0.0144, allocations: 76.42 kB / 297.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.0148, allocations: 321.9 kB / 297.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.01481, allocations: 4 kB / 297.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.01503, allocations: 287.4 kB / 298 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.01551, allocations: 375.3 kB / 298.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.01928, allocations: 402.1 kB / 298.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.815e-05/0.01935, allocations: 79.98 kB / 298.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.01941, allocations: 13.75 kB / 298.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.01951, allocations: 75.36 kB / 298.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01951, allocations: 0 / 298.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005524/0.02504, allocations: 2.375 MB / 301.3 MB, free: 8.195 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] 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","",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.7727146660909057]