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.0008973/0.0008973, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009074/0.0009074, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.956/0.956, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.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.1633/0.1633, allocations: 34.26 MB / 296.1 MB, free: 13.99 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.513e-06/1.513e-06, allocations: 0 / 325.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.453e-05, allocations: 8.984 kB / 325.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00254/0.002565, allocations: 1.917 MB / 327.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004102/0.002975, allocations: 159.4 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.003042, allocations: 4 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.486e-05/0.003096, allocations: 19.73 kB / 327.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.00323, allocations: 55.48 kB / 327.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.00336, allocations: 43.88 kB / 327.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.003586, allocations: 187 kB / 327.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.003703, allocations: 46.42 kB / 327.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.003832, allocations: 107.8 kB / 327.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.003931, allocations: 59.81 kB / 327.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.003954, allocations: 12 kB / 327.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.003973, allocations: 16 kB / 327.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.004002, allocations: 27.91 kB / 327.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.004053, allocations: 67.83 kB / 328 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004216, allocations: 115.6 kB / 328.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004218, allocations: 0 / 328.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004219, allocations: 3.938 kB / 328.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004223, allocations: 0 / 328.1 MB, free: 13.92 MB / 314.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.0003298/0.004553, allocations: 360.5 kB / 328.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.004585, allocations: 8.031 kB / 328.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.004626, allocations: 28.92 kB / 328.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004748, allocations: 133.6 kB / 328.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.00476, allocations: 12.7 kB / 328.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.004789, allocations: 24.36 kB / 328.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.004926, allocations: 134.1 kB / 328.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.004938, allocations: 8.078 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.004951, allocations: 16.36 kB / 328.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.004958, allocations: 8.375 kB / 328.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.005014, allocations: 44.56 kB / 328.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.005589, allocations: 403.8 kB / 329.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.005697, allocations: 93.12 kB / 329.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.005731, allocations: 33.7 kB / 329.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.00574, allocations: 4 kB / 329.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.005759, allocations: 30.56 kB / 329.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.00576, allocations: 0 / 329.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003656/0.006126, allocations: 179.3 kB / 329.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.006161, allocations: 81.11 kB / 329.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.006237, allocations: 130.6 kB / 329.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.00625, allocations: 29.69 kB / 329.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.006305, allocations: 128.3 kB / 329.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.006333, allocations: 59.53 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.00637, allocations: 41.62 kB / 330 MB, free: 11.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.006447, allocations: 330.7 kB / 330.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.006466, allocations: 15.98 kB / 330.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.006517, allocations: 87.78 kB / 330.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.006608, allocations: 120.3 kB / 330.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.00661, allocations: 0 / 330.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001755/0.006786, allocations: 159 kB / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.0068, allocations: 4.25 kB / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.006809, allocations: 11.98 kB / 330.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.006945, allocations: 45.91 kB / 330.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.007049, allocations: 51 kB / 330.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.008659, allocations: 2.532 MB / 333.4 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.008715, allocations: 15.89 kB / 333.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.008723, allocations: 12 kB / 333.4 MB, free: 8.18 MB / 314.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 7.047e-05/0.008793, allocations: 117.8 kB / 333.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.008829, allocations: 20.08 kB / 333.5 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.008851, allocations: 16.78 kB / 333.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008853, allocations: 0 / 333.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.008858, allocations: 3.938 kB / 333.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.008863, allocations: 4 kB / 333.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.009011, allocations: 109.7 kB / 333.7 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009013, allocations: 0 / 333.7 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.009114, allocations: 31.97 kB / 333.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.664e-05/0.009201, allocations: 49.58 kB / 333.8 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.009211, allocations: 8 kB / 333.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.01033, allocations: 2.519 MB / 336.3 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01033, allocations: 0 / 336.3 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.01053, allocations: 312.5 kB / 336.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.01054, allocations: 19.83 kB / 336.6 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.01055, allocations: 4 kB / 336.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.01061, allocations: 4 kB / 336.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.01065, allocations: 11.97 kB / 336.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01065, allocations: 7.938 kB / 336.6 MB, free: 4.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.01068, allocations: 20.84 kB / 336.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 4.031 kB / 336.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.01095, allocations: 55.89 kB / 336.7 MB, free: 4.645 MB / 314.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 9.185e-05/0.01104, allocations: 80.36 kB / 336.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.01135, allocations: 322.3 kB / 337.1 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.01135, allocations: 4.125 kB / 337.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.0115, allocations: 281.5 kB / 337.4 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01174, allocations: 31.95 kB / 337.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.01242, allocations: 417.5 kB / 337.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.491e-05/0.01248, allocations: 75.98 kB / 337.9 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.01252, allocations: 13.48 kB / 337.9 MB, free: 3.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.01259, allocations: 71.36 kB / 338 MB, free: 3.262 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01259, allocations: 0 / 338 MB, free: 3.262 MB / 314.7 MB Notification: Performance of Templates: time 0.004571/0.01716, allocations: 2.35 MB / 340.3 MB, free: 0.957 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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.9696326781995595]