Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.001579/0.001579, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.759/1.759, allocations: 230.6 MB / 252.7 MB, free: 14.26 MB / 206.1 MB " [Timeout remaining time 178] 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.001864/0.001864, allocations: 208.6 kB / 309.2 MB, free: 3.094 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.05898/0.05898, allocations: 8.924 MB / 374.6 MB, free: 6.566 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003012/0.003012, allocations: 91.88 kB / 0.4896 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1166, allocations: 55.6 MB / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.002502/0.1191, allocations: 0.5191 MB / 0.5444 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1211, allocations: 1.145 MB / 0.5455 GB, free: 2.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.1211, allocations: 0 / 0.5455 GB, free: 2.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1213, allocations: 11.92 kB / 0.5456 GB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1215, allocations: 15.92 kB / 0.5456 GB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.11e-05/0.1216, allocations: 11.94 kB / 0.5456 GB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1217, allocations: 35.84 kB / 0.5456 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.782e-05/0.1217, allocations: 7.984 kB / 0.5456 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.122, allocations: 31.84 kB / 0.5457 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1222, allocations: 47.88 kB / 0.5457 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1222, allocations: 0 / 0.5457 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.1222, allocations: 4 kB / 0.5457 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1224, allocations: 39.89 kB / 0.5457 GB, free: 2.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.1224, allocations: 15.81 kB / 0.5458 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1226, allocations: 55.62 kB / 0.5458 GB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1226, allocations: 0 / 0.5458 GB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1226, allocations: 3.938 kB / 0.5458 GB, free: 2.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1226, allocations: 0 / 0.5458 GB, free: 2.602 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008535/0.1234, allocations: 341.8 kB / 0.5461 GB, free: 2.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1235, allocations: 11.98 kB / 0.5461 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.1235, allocations: 12.84 kB / 0.5462 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1238, allocations: 162.3 kB / 0.5463 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1238, allocations: 384 / 0.5463 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1239, allocations: 384 / 0.5463 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.124, allocations: 46 kB / 0.5464 GB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.124, allocations: 0 / 0.5464 GB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.124, allocations: 0 / 0.5464 GB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.124, allocations: 4 kB / 0.5464 GB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.1241, allocations: 8 kB / 0.5464 GB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.1243, allocations: 145.2 kB / 0.5465 GB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1244, allocations: 30.56 kB / 0.5465 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.1245, allocations: 16.86 kB / 0.5466 GB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1245, allocations: 4.078 kB / 0.5466 GB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.1245, allocations: 30.56 kB / 0.5466 GB, free: 1.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 4.088e-06/0.1245, allocations: 3.984 kB / 0.5466 GB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002553/0.1248, allocations: 65.52 kB / 0.5467 GB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1248, allocations: 51.41 kB / 0.5467 GB, free: 1.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1251, allocations: 226.9 kB / 0.5469 GB, free: 1.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1251, allocations: 25.7 kB / 0.5469 GB, free: 1.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1252, allocations: 112.1 kB / 0.5471 GB, free: 1.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1253, allocations: 7.953 kB / 0.5471 GB, free: 1.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1253, allocations: 13.7 kB / 0.5471 GB, free: 1.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1255, allocations: 326.8 kB / 0.5474 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.1256, allocations: 4 kB / 0.5474 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.1256, allocations: 4 kB / 0.5474 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.716e-05/0.1257, allocations: 28.84 kB / 0.5474 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1257, allocations: 0 / 0.5474 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001533/0.1258, allocations: 65.53 kB / 0.5475 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1258, allocations: 8 kB / 0.5475 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1258, allocations: 7.922 kB / 0.5475 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.1259, allocations: 0 / 0.5475 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.126, allocations: 7.984 kB / 0.5475 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.126, allocations: 0 / 0.5475 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1261, allocations: 4 kB / 0.5475 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1261, allocations: 0 / 0.5475 GB, free: 0.6914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 0.0001195/0.1262, allocations: 125.8 kB / 0.5476 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1262, allocations: 11.91 kB / 0.5476 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.1264, allocations: 70.58 kB / 0.5477 GB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1264, allocations: 4 kB / 0.5477 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1264, allocations: 4 kB / 0.5477 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1264, allocations: 4 kB / 0.5477 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1266, allocations: 133.2 kB / 0.5478 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1266, allocations: 0 / 0.5478 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.1266, allocations: 4 kB / 0.5479 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1266, allocations: 0 / 0.5479 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1266, allocations: 0 / 0.5479 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1266, allocations: 3.938 kB / 0.5479 GB, free: 296 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.1267, allocations: 3.984 kB / 0.5479 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1268, allocations: 85.45 kB / 0.5479 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.1268, allocations: 15.91 kB / 0.548 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1269, allocations: 0 / 0.548 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.1269, allocations: 11.92 kB / 0.548 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1269, allocations: 4.031 kB / 0.548 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1269, allocations: 3.938 kB / 0.548 GB, free: 152 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.1271, allocations: 172.2 kB / 0.5481 GB, free: 15.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1271, allocations: 3.938 kB / 0.5481 GB, free: 15.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1273, allocations: 8 kB / 0.5481 GB, free: 15.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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 0.0001172/0.1275, allocations: 91.25 kB / 0.5482 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.1276, allocations: 23.98 kB / 0.5483 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.1276, allocations: 3.938 kB / 0.5483 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.1276, allocations: 4 kB / 0.5483 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.1278, allocations: 8 kB / 0.5483 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.1282, allocations: 205.1 kB / 0.5485 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1283, allocations: 88.98 kB / 0.5486 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.1284, allocations: 19.97 kB / 0.5486 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.1284, allocations: 7.438 kB / 0.5486 GB, free: 15.46 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1284, allocations: 4 kB / 0.5486 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Templates: time 0.00356/0.132, allocations: 0.6575 MB / 0.5492 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.306797761470079] Failed to read output from testmodel.py, exit status != 0: 0.14144426584243774 0.160764076 0.034267173000000005 Calling exit ...