Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.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.001022/0.001022, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009902/0.0009902, allocations: 165 kB / 23.27 MB, free: 1.219 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 1.027/1.027, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8389/0.8389, allocations: 154.9 MB / 415.1 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5211 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.118e-05, allocations: 6.469 kB / 0.5211 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001994/0.002015, allocations: 1.361 MB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1436/0.1457, allocations: 141.3 MB / 0.6604 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.1457, allocations: 0 / 0.6604 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.1458, allocations: 3.938 kB / 0.6604 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1459, allocations: 19.84 kB / 0.6604 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.1467, allocations: 330.3 kB / 0.6607 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1468, allocations: 71.73 kB / 0.6608 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.1e-05/0.1469, allocations: 4 kB / 0.6608 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.1469, allocations: 39.89 kB / 0.6608 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.147, allocations: 27.95 kB / 0.6608 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.147, allocations: 4 kB / 0.6608 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.1476, allocations: 378.6 kB / 0.6612 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.1476, allocations: 19.91 kB / 0.6612 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1477, allocations: 23.97 kB / 0.6612 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.1479, allocations: 167.4 kB / 0.6614 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1479, allocations: 4 kB / 0.6614 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1479, allocations: 0 / 0.6614 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.148, allocations: 0 / 0.6614 GB, free: 1.559 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003377/0.1483, allocations: 420.1 kB / 0.6618 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1483, allocations: 8.031 kB / 0.6618 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.1487, allocations: 68.64 kB / 0.6619 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.1488, allocations: 108.6 kB / 0.662 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1488, allocations: 4.375 kB / 0.662 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1488, allocations: 12.38 kB / 0.662 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.149, allocations: 194.1 kB / 0.6622 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.149, allocations: 0 / 0.6622 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.149, allocations: 8 kB / 0.6622 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.149, allocations: 0 / 0.6622 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.149, allocations: 27.91 kB / 0.6622 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.1492, allocations: 125.1 kB / 0.6623 GB, free: 492 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1493, allocations: 79.08 kB / 0.6624 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.1493, allocations: 23.77 kB / 0.6624 GB, free: 372 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.1494, allocations: 19.98 kB / 0.6624 GB, free: 352 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1494, allocations: 45.33 kB / 0.6625 GB, free: 296 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1494, allocations: 0 / 0.6625 GB, free: 296 kB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0007372/0.1502, allocations: 452.6 kB / 0.6629 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1502, allocations: 55.41 kB / 0.663 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.1503, allocations: 153.9 kB / 0.6631 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1503, allocations: 33.7 kB / 0.6632 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.1503, allocations: 127.2 kB / 0.6633 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1503, allocations: 75.36 kB / 0.6633 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1504, allocations: 43.34 kB / 0.6634 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1505, allocations: 0.4963 MB / 0.6639 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.1505, allocations: 19.98 kB / 0.6639 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.1506, allocations: 69.55 kB / 0.664 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.1506, allocations: 90.66 kB / 0.664 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1506, allocations: 3.938 kB / 0.6641 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001243/0.1508, allocations: 121.5 kB / 0.6642 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1508, allocations: 15.92 kB / 0.6642 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1508, allocations: 0 / 0.6642 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.1508, allocations: 0 / 0.6642 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.1509, allocations: 39.98 kB / 0.6642 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.1509, allocations: 4 kB / 0.6642 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.1509, allocations: 8 kB / 0.6642 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1509, allocations: 4 kB / 0.6642 GB, free: 14.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 6.898e-05/0.151, allocations: 168.5 kB / 0.6644 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.151, allocations: 15.95 kB / 0.6644 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.151, allocations: 16.47 kB / 0.6644 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.151, allocations: 7.984 kB / 0.6644 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.151, allocations: 0 / 0.6644 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.151, allocations: 3.984 kB / 0.6644 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.1511, allocations: 117.2 kB / 0.6646 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1511, allocations: 0 / 0.6646 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1512, allocations: 52.05 kB / 0.6646 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1512, allocations: 3.938 kB / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1512, allocations: 4 kB / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1512, allocations: 3.984 kB / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1513, allocations: 0 / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1514, allocations: 165.7 kB / 0.6648 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.1514, allocations: 23.88 kB / 0.6648 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1515, allocations: 0 / 0.6648 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.1515, allocations: 8 kB / 0.6648 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1515, allocations: 15.91 kB / 0.6648 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.1515, allocations: 8 kB / 0.6648 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.1516, allocations: 123.2 kB / 0.6649 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.012e-06/0.1516, allocations: 0 / 0.6649 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001481/0.1517, allocations: 28 kB / 0.665 GB, free: 13.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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 9.992e-05/0.1518, allocations: 107.2 kB / 0.6651 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1519, allocations: 77.98 kB / 0.6651 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1519, allocations: 0 / 0.6651 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.1519, allocations: 59.62 kB / 0.6652 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.1521, allocations: 35.91 kB / 0.6652 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.1527, allocations: 406.6 kB / 0.6656 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.1528, allocations: 71.94 kB / 0.6657 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.1528, allocations: 20.64 kB / 0.6657 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.1529, allocations: 106.2 kB / 0.6658 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.1529, allocations: 0 / 0.6658 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.003381/0.1563, allocations: 1.622 MB / 0.6674 GB, free: 11.05 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.281762108206749]