Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.001408/0.001408, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001629/0.001629, allocations: 173 kB / 23.36 MB, free: 1.129 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.9377/0.9377, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.05844/0.05844, allocations: 8.727 MB / 269 MB, free: 4.395 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 288 MB, free: 1.336 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.774e-05, allocations: 2.312 kB / 288 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.1347/0.1347, allocations: 3.349 MB / 291.4 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1357, allocations: 0.9552 MB / 292.3 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1358, allocations: 10.72 kB / 292.4 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1359, allocations: 64.97 kB / 292.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1362, allocations: 203.9 kB / 292.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1364, allocations: 120.4 kB / 292.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.1368, allocations: 0.6627 MB / 293.4 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1369, allocations: 161.8 kB / 293.6 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.1372, allocations: 344.4 kB / 293.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.1375, allocations: 227.2 kB / 294.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1375, allocations: 40.72 kB / 294.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.908e-05/0.1376, allocations: 62.66 kB / 294.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.1376, allocations: 110.3 kB / 294.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1378, allocations: 194.9 kB / 294.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1381, allocations: 376.8 kB / 294.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1381, allocations: 0 / 294.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1381, allocations: 0 / 294.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1381, allocations: 0 / 294.9 MB, free: 16.91 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0005269/0.1386, allocations: 0.6192 MB / 295.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.1386, allocations: 9.688 kB / 295.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.1388, allocations: 83.05 kB / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.139, allocations: 231.4 kB / 295.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.139, allocations: 34.19 kB / 295.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1391, allocations: 41.58 kB / 295.9 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1393, allocations: 249.9 kB / 296.1 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1393, allocations: 1.172 kB / 296.1 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1394, allocations: 16.28 kB / 296.1 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1394, allocations: 10.12 kB / 296.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1395, allocations: 91.89 kB / 296.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.1405, allocations: 0.8408 MB / 297.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1406, allocations: 74.58 kB / 297.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.1406, allocations: 43.58 kB / 297.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1407, allocations: 3.719 kB / 297.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.1407, allocations: 37.67 kB / 297.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.1407, allocations: 2.031 kB / 297.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001541/0.1408, allocations: 110.5 kB / 297.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.438e-05/0.1408, allocations: 53.84 kB / 297.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.141, allocations: 263.1 kB / 297.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.141, allocations: 26.77 kB / 297.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.141, allocations: 246.2 kB / 297.9 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1411, allocations: 66.3 kB / 298 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1411, allocations: 58.91 kB / 298.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.1411, allocations: 337.3 kB / 298.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.1412, allocations: 43.59 kB / 298.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.1412, allocations: 129.4 kB / 298.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1414, allocations: 171.4 kB / 298.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1414, allocations: 4.312 kB / 298.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001611/0.1415, allocations: 174.8 kB / 298.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1415, allocations: 6.219 kB / 298.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1415, allocations: 3.406 kB / 298.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1415, allocations: 6.031 kB / 298.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1417, allocations: 68.84 kB / 299 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1417, allocations: 6 kB / 299 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.1418, allocations: 36.02 kB / 299 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1418, allocations: 13.78 kB / 299 MB, free: 14.19 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/0.1419, allocations: 134.8 kB / 299.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1419, allocations: 21.09 kB / 299.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.142, allocations: 126.9 kB / 299.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.142, allocations: 2.297 kB / 299.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.142, allocations: 1 kB / 299.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.142, allocations: 1.797 kB / 299.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1423, allocations: 394.4 kB / 299.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1423, allocations: 1.406 kB / 299.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.1424, allocations: 37.25 kB / 299.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1424, allocations: 2.719 kB / 299.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1424, allocations: 10.56 kB / 299.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1424, allocations: 5.922 kB / 299.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1424, allocations: 1.281 kB / 299.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1426, allocations: 236.9 kB / 300 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.1426, allocations: 28.53 kB / 300 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1426, allocations: 8.297 kB / 300 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.1427, allocations: 7.766 kB / 300 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.1427, allocations: 14.48 kB / 300 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1427, allocations: 4.078 kB / 300 MB, free: 13.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.1428, allocations: 99.73 kB / 300.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1428, allocations: 0 / 300.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.143, allocations: 113.6 kB / 300.3 MB, free: 13.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * 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 (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.686e-05/0.1431, allocations: 84.59 kB / 300.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1432, allocations: 108.1 kB / 300.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.1432, allocations: 4.938 kB / 300.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.1433, allocations: 48.39 kB / 300.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1435, allocations: 59.67 kB / 300.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.1443, allocations: 0.6904 MB / 301.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.1444, allocations: 106.5 kB / 301.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.601e-05/0.1445, allocations: 39.3 kB / 301.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1446, allocations: 108.2 kB / 301.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1446, allocations: 0 / 301.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.00466/0.1493, allocations: 3.323 MB / 304.8 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.584033992141485]