Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.0009147/0.0009147, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9323/0.9323, allocations: 177.2 MB / 200.3 MB, free: 5.383 MB / 186.7 MB " [Timeout remaining time 179] 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.001728/0.001728, allocations: 171.6 kB / 257 MB, free: 12.82 MB / 250.7 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.02399/0.02399, allocations: 6.653 MB / 266.9 MB, free: 3.07 MB / 250.7 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.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 285.6 MB, free: 368 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.277e-05, allocations: 9.766 kB / 285.6 MB, free: 360 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.09966/0.09967, allocations: 0.4916 MB / 286.1 MB, free: 22.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1007, allocations: 1.151 MB / 287.3 MB, free: 21.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.1007, allocations: 0 / 287.3 MB, free: 21.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1009, allocations: 34.58 kB / 287.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.101, allocations: 19.47 kB / 287.3 MB, free: 21.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.324e-06/0.101, allocations: 0.5625 kB / 287.3 MB, free: 21.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.101, allocations: 25.28 kB / 287.4 MB, free: 21.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.1011, allocations: 11.33 kB / 287.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1012, allocations: 25.05 kB / 287.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.1013, allocations: 28.33 kB / 287.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1013, allocations: 5.734 kB / 287.4 MB, free: 21.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.1013, allocations: 1.344 kB / 287.4 MB, free: 21.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.1014, allocations: 74.47 kB / 287.5 MB, free: 21.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.1014, allocations: 13.75 kB / 287.5 MB, free: 21.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.138e-05/0.1015, allocations: 37.12 kB / 287.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1015, allocations: 4.469 kB / 287.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1015, allocations: 0 / 287.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1015, allocations: 2.25 kB / 287.6 MB, free: 21.84 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002451/0.1017, allocations: 308.5 kB / 287.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1018, allocations: 9.812 kB / 287.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1018, allocations: 83.8 kB / 288 MB, free: 21.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.1019, allocations: 219 kB / 288.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1019, allocations: 152.1 kB / 288.3 MB, free: 21.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1019, allocations: 157.4 kB / 288.5 MB, free: 20.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.028e-05/0.102, allocations: 103.3 kB / 288.6 MB, free: 20.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.102, allocations: 75.47 kB / 288.6 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.102, allocations: 152 kB / 288.8 MB, free: 20.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.102, allocations: 158.7 kB / 288.9 MB, free: 20.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.26e-05/0.102, allocations: 155.6 kB / 289.1 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.988e-05/0.1021, allocations: 360.2 kB / 289.5 MB, free: 19.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/0.1021, allocations: 171.3 kB / 289.6 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-06/0.1022, allocations: 82.08 kB / 289.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1022, allocations: 75.28 kB / 289.8 MB, free: 19.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.1022, allocations: 108.7 kB / 289.9 MB, free: 19.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.1022, allocations: 3.438 kB / 289.9 MB, free: 19.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.982e-05/0.1022, allocations: 36.02 kB / 289.9 MB, free: 19.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1022, allocations: 128.6 kB / 290 MB, free: 19.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1024, allocations: 185 kB / 290.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-06/0.1024, allocations: 27.11 kB / 290.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.558e-05/0.1024, allocations: 95.08 kB / 290.3 MB, free: 19.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-07/0.1024, allocations: 0 / 290.3 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.1024, allocations: 11.81 kB / 290.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.751e-05/0.1024, allocations: 330.7 kB / 290.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-06/0.1024, allocations: 0.6562 kB / 290.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.1024, allocations: 2.094 kB / 290.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-06/0.1024, allocations: 75.28 kB / 290.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1024, allocations: 77.77 kB / 290.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.715e-05/0.1025, allocations: 38.09 kB / 290.9 MB, free: 18.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1025, allocations: 81.38 kB / 290.9 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1025, allocations: 81.08 kB / 291 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1025, allocations: 153.8 kB / 291.2 MB, free: 18.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-06/0.1025, allocations: 84.45 kB / 291.3 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1025, allocations: 154.9 kB / 291.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.1025, allocations: 84.8 kB / 291.5 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1026, allocations: 78 kB / 291.6 MB, free: 17.88 MB / 266.7 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 (0): * Single equations (assignments): 0 * 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 3.912e-05/0.1026, allocations: 260 kB / 291.8 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1026, allocations: 110.1 kB / 291.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.1026, allocations: 121.3 kB / 292 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1026, allocations: 183.8 kB / 292.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.1027, allocations: 181.9 kB / 292.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.1027, allocations: 183.2 kB / 292.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.767e-05/0.1028, allocations: 339.4 kB / 292.9 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.1028, allocations: 106.8 kB / 293 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.1028, allocations: 104.1 kB / 293.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.1028, allocations: 183.4 kB / 293.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1028, allocations: 178.5 kB / 293.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.1028, allocations: 180.5 kB / 293.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.474e-05/0.1028, allocations: 191 kB / 293.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.17e-05/0.1029, allocations: 316.5 kB / 294.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.1029, allocations: 115 kB / 294.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1029, allocations: 184 kB / 294.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.1029, allocations: 102.6 kB / 294.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.103, allocations: 178.1 kB / 294.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.103, allocations: 108.8 kB / 294.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.103, allocations: 55.02 kB / 294.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.103, allocations: 1.281 kB / 294.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.1031, allocations: 3.281 kB / 294.9 MB, free: 14.52 MB / 266.7 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 (0): * Single equations (assignments): 0 * 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 6.131e-05/0.1032, allocations: 153 kB / 295 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.522e-05/0.1032, allocations: 1.969 kB / 295 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1032, allocations: 1.812 kB / 295 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.1032, allocations: 0 / 295 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1034, allocations: 466.9 kB / 295.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.1035, allocations: 282.2 kB / 295.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.1036, allocations: 70.73 kB / 295.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.228e-05/0.1036, allocations: 1.156 kB / 295.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.1036, allocations: 49.92 kB / 295.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1036, allocations: 0 / 295.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of Templates: time 0.001562/0.1052, allocations: 277.6 kB / 296.2 MB, free: 13.53 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.503326504956931]