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.0007827/0.0007827, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001878, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.073/1.073, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1618/1.235, allocations: 53.64 MB / 241.9 MB, free: 2.734 MB / 234.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.0008064/0.0008064, allocations: 153.1 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.00187, allocations: 476.3 kB / 243.2 MB, free: 1.422 MB / 234.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.03018/0.03018, allocations: 6.655 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006032/0.03621, allocations: 2.659 MB / 253.3 MB, free: 7.562 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.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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 254.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.458e-05, allocations: 4.562 kB / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001765/0.00179, allocations: 0.5791 MB / 255.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.009176, allocations: 1.189 MB / 256.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.009225, allocations: 0 / 256.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.009343, allocations: 3.938 kB / 256.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.009423, allocations: 23.91 kB / 256.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.138e-05/0.009495, allocations: 11.88 kB / 256.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.009575, allocations: 39.89 kB / 256.4 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.009621, allocations: 4 kB / 256.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.00982, allocations: 48.72 kB / 256.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.009972, allocations: 43.88 kB / 256.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.009991, allocations: 0 / 256.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.01001, allocations: 7.938 kB / 256.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.01009, allocations: 35.84 kB / 256.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.01012, allocations: 11.94 kB / 256.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.01022, allocations: 39.83 kB / 256.6 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.695e-05/0.01024, allocations: 4 kB / 256.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01024, allocations: 0 / 256.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.01026, allocations: 0 / 256.6 MB, free: 4.254 MB / 250.7 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.0004936/0.01075, allocations: 308.1 kB / 256.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.0108, allocations: 8.031 kB / 256.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.01083, allocations: 4.938 kB / 256.9 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.01098, allocations: 141.6 kB / 257 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.01099, allocations: 4.375 kB / 257 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.01099, allocations: 4.375 kB / 257 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.669e-05/0.01106, allocations: 34.25 kB / 257.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01107, allocations: 4.172 kB / 257.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.01108, allocations: 4.375 kB / 257.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01108, allocations: 3.938 kB / 257.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.0111, allocations: 7.938 kB / 257.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.928e-05/0.0112, allocations: 63.86 kB / 257.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.01126, allocations: 22.58 kB / 257.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.01128, allocations: 8.859 kB / 257.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01129, allocations: 4 kB / 257.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.01132, allocations: 34.56 kB / 257.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.01132, allocations: 0 / 257.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001119/0.01143, allocations: 49.75 kB / 257.3 MB, free: 3.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.01146, allocations: 55.41 kB / 257.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.0116, allocations: 171.1 kB / 257.5 MB, free: 3.219 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.01161, allocations: 25.7 kB / 257.5 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.01164, allocations: 92.11 kB / 257.6 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.01167, allocations: 7.953 kB / 257.6 MB, free: 3.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.0117, allocations: 13.7 kB / 257.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.002784/0.01448, allocations: 326.8 kB / 257.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.01451, allocations: 4 kB / 258 MB, free: 2.734 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.01452, allocations: 7.984 kB / 258 MB, free: 2.727 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.01456, allocations: 23.62 kB / 258 MB, free: 2.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01456, allocations: 3.938 kB / 258 MB, free: 2.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.091e-05/0.01463, allocations: 41.69 kB / 258 MB, free: 2.648 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01465, allocations: 4 kB / 258 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01465, allocations: 0 / 258 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.01466, allocations: 0 / 258 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.01475, allocations: 15.98 kB / 258 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.01475, allocations: 0 / 258 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.01479, allocations: 11.83 kB / 258.1 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.01479, allocations: 0 / 258.1 MB, free: 2.617 MB / 250.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 (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 6.352e-05/0.01486, allocations: 116.7 kB / 258.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.01487, allocations: 7.984 kB / 258.2 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.01497, allocations: 50.98 kB / 258.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.01497, allocations: 4.031 kB / 258.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01497, allocations: 0 / 258.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01498, allocations: 4 kB / 258.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.442e-05/0.01506, allocations: 85.8 kB / 258.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.01506, allocations: 0 / 258.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.01509, allocations: 11.98 kB / 258.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.01511, allocations: 7.953 kB / 258.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01511, allocations: 4 kB / 258.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-06/0.01512, allocations: 0 / 258.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01512, allocations: 0 / 258.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01512, allocations: 0 / 258.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.596e-05/0.0152, allocations: 76.98 kB / 258.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.01521, allocations: 0 / 258.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/0.01523, allocations: 0 / 258.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.01524, allocations: 0 / 258.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.01524, allocations: 0 / 258.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.544e-05/0.0153, allocations: 52.8 kB / 258.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0153, allocations: 0 / 258.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.01544, allocations: 12 kB / 258.5 MB, free: 2.137 MB / 250.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 (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 9.579e-05/0.01554, allocations: 76.41 kB / 258.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.424e-05/0.0156, allocations: 16.84 kB / 258.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.01561, allocations: 4 kB / 258.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.01563, allocations: 16.8 kB / 258.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.431e-05/0.0157, allocations: 19.8 kB / 258.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.01593, allocations: 191.2 kB / 258.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.01596, allocations: 71.33 kB / 258.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.01598, allocations: 8 kB / 258.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01602, allocations: 55.38 kB / 258.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01602, allocations: 0 / 258.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of Templates: time 0.001938/0.01796, allocations: 0.6423 MB / 259.6 MB, free: 0.9922 MB / 250.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5552872410044074]