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.00114/0.00114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.002922, allocations: 449.7 kB / 10.37 MB, free: 328 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.001075/0.001075, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002361, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0904/1.109, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2573/0.2573, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02447/0.2818, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.743e-06/1.743e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.755e-05, allocations: 4.141 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003467/0.003494, allocations: 1.923 MB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004238/0.003918, allocations: 159.4 kB / 294.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.004009, allocations: 7.938 kB / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.441e-05/0.004073, allocations: 23.78 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.004205, allocations: 55.5 kB / 294.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.004316, allocations: 31.95 kB / 294.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004554, allocations: 195 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.004695, allocations: 42.92 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.004888, allocations: 119.7 kB / 295.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.005009, allocations: 55.81 kB / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.005042, allocations: 12 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.797e-05/0.00507, allocations: 16 kB / 295.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.005102, allocations: 31.88 kB / 295.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.005179, allocations: 47.94 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.00541, allocations: 111.5 kB / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.93e-05/0.005429, allocations: 0 / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005431, allocations: 0 / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.005452, allocations: 0 / 295.4 MB, free: 3.492 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.0005378/0.005989, allocations: 393.4 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.006025, allocations: 12.03 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.006082, allocations: 32.84 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006266, allocations: 130.4 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.006286, allocations: 16.7 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.006325, allocations: 24.36 kB / 296 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.006508, allocations: 126.2 kB / 296.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.006522, allocations: 4.188 kB / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.006536, allocations: 8.359 kB / 296.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.006545, allocations: 4.375 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.006628, allocations: 44.52 kB / 296.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.007191, allocations: 411.8 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.007344, allocations: 105.1 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.007386, allocations: 29.72 kB / 296.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.007395, allocations: 0 / 296.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.007421, allocations: 38.69 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.007422, allocations: 0 / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004697/0.007892, allocations: 187.1 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.00793, allocations: 77.11 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.008025, allocations: 137.1 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.008038, allocations: 29.7 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.008102, allocations: 128.2 kB / 297.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.008148, allocations: 59.47 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.008201, allocations: 37.69 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.008295, allocations: 330.7 kB / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.008323, allocations: 15.98 kB / 297.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.008404, allocations: 95.75 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.008523, allocations: 112.4 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.008526, allocations: 0 / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002294/0.008756, allocations: 155 kB / 298.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.008775, allocations: 11.98 kB / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.008786, allocations: 4 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.00896, allocations: 45.88 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.009118, allocations: 47.97 kB / 298.2 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.01079, allocations: 2.523 MB / 300.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.01086, allocations: 15.92 kB / 300.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01087, allocations: 8 kB / 300.8 MB, free: 13.72 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 8.861e-05/0.01096, allocations: 121.8 kB / 300.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.01101, allocations: 19.92 kB / 300.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.01103, allocations: 16.78 kB / 300.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01104, allocations: 4 kB / 300.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01104, allocations: 0 / 300.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01105, allocations: 0 / 300.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.01125, allocations: 113.7 kB / 301 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01126, allocations: 0 / 301 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01139, allocations: 35.97 kB / 301.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01141, allocations: 15.83 kB / 301.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.01151, allocations: 37.73 kB / 301.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01152, allocations: 4 kB / 301.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.01294, allocations: 2.533 MB / 303.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01294, allocations: 0 / 303.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.01323, allocations: 314.1 kB / 304 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.01325, allocations: 8 kB / 304 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01336, allocations: 4 kB / 304 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.01339, allocations: 23.84 kB / 304 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.0134, allocations: 3.938 kB / 304 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.01343, allocations: 27.22 kB / 304 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01343, allocations: 0 / 304 MB, free: 10.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.01382, allocations: 59.89 kB / 304.1 MB, free: 10.17 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.0001097/0.01393, allocations: 76.42 kB / 304.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.01434, allocations: 325.8 kB / 304.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.01435, allocations: 0 / 304.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.01456, allocations: 278.7 kB / 304.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.01492, allocations: 48.41 kB / 304.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.01884, allocations: 398.7 kB / 305.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/0.01891, allocations: 79.98 kB / 305.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.01897, allocations: 9.484 kB / 305.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.01906, allocations: 79.34 kB / 305.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01906, allocations: 0 / 305.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of Templates: time 0.006086/0.02515, allocations: 2.413 MB / 307.8 MB, free: 6.461 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.875836147926748]