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.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.549/1.549, allocations: 230.6 MB / 252.6 MB, free: 8.289 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.00175/0.00175, allocations: 211.1 kB / 309.2 MB, free: 3.141 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.06202/0.06202, allocations: 8.917 MB / 374.6 MB, free: 1.898 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.002617/0.002617, allocations: 83.88 kB / 0.4897 GB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3306, allocations: 55.61 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001477/0.3321, allocations: 0.5215 MB / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3333, allocations: 1.191 MB / 0.5457 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.3333, allocations: 0 / 0.5457 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3335, allocations: 10.45 kB / 0.5457 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3336, allocations: 25.31 kB / 0.5457 GB, free: 25.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.345e-05/0.3337, allocations: 14.58 kB / 0.5457 GB, free: 25.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.3338, allocations: 30.06 kB / 0.5457 GB, free: 25.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.3338, allocations: 3.25 kB / 0.5457 GB, free: 25.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.334, allocations: 35.22 kB / 0.5458 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3341, allocations: 39.66 kB / 0.5458 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3342, allocations: 0 / 0.5458 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.3342, allocations: 3.219 kB / 0.5458 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.3343, allocations: 45.69 kB / 0.5458 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.3343, allocations: 35.55 kB / 0.5459 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.3344, allocations: 52.17 kB / 0.5459 GB, free: 25.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3344, allocations: 3.516 kB / 0.5459 GB, free: 25.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3344, allocations: 0 / 0.5459 GB, free: 25.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3344, allocations: 0 / 0.5459 GB, free: 25.75 MB / 382.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.0005086/0.3349, allocations: 328.3 kB / 0.5462 GB, free: 25.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.335, allocations: 9.719 kB / 0.5463 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.335, allocations: 16.12 kB / 0.5463 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3352, allocations: 162 kB / 0.5464 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3352, allocations: 4.375 kB / 0.5464 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3352, allocations: 384 / 0.5464 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.3353, allocations: 47.75 kB / 0.5465 GB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3353, allocations: 0 / 0.5465 GB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3353, allocations: 0 / 0.5465 GB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3353, allocations: 0 / 0.5465 GB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.3354, allocations: 17.91 kB / 0.5465 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.3355, allocations: 168.2 kB / 0.5467 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.3356, allocations: 35.83 kB / 0.5467 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.3356, allocations: 11.34 kB / 0.5467 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3357, allocations: 0 / 0.5467 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3357, allocations: 37.12 kB / 0.5467 GB, free: 25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3357, allocations: 0 / 0.5467 GB, free: 25 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001869/0.3359, allocations: 67.38 kB / 0.5468 GB, free: 24.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3359, allocations: 51.41 kB / 0.5468 GB, free: 24.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3361, allocations: 216.8 kB / 0.5471 GB, free: 24.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3361, allocations: 29.7 kB / 0.5471 GB, free: 24.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.3361, allocations: 106.1 kB / 0.5472 GB, free: 24.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3362, allocations: 7.891 kB / 0.5472 GB, free: 24.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.3362, allocations: 20.38 kB / 0.5472 GB, free: 24.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3362, allocations: 321.5 kB / 0.5475 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.3363, allocations: 7.219 kB / 0.5475 GB, free: 24.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.3363, allocations: 9.953 kB / 0.5475 GB, free: 24.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.751e-05/0.3363, allocations: 22.39 kB / 0.5476 GB, free: 24.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3363, allocations: 4 kB / 0.5476 GB, free: 24.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.156e-05/0.3364, allocations: 63.89 kB / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3364, allocations: 8.812 kB / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3364, allocations: 0 / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3364, allocations: 0 / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.3365, allocations: 6.594 kB / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3365, allocations: 3.984 kB / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.3366, allocations: 6.344 kB / 0.5476 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3366, allocations: 3.938 kB / 0.5476 GB, free: 24.2 MB / 382.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 6.38e-05/0.3366, allocations: 130.5 kB / 0.5478 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.3366, allocations: 19.09 kB / 0.5478 GB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3368, allocations: 73.03 kB / 0.5479 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3368, allocations: 0 / 0.5479 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3368, allocations: 0 / 0.5479 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3368, allocations: 0 / 0.5479 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.3369, allocations: 158.6 kB / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3369, allocations: 3.125 kB / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.3369, allocations: 3.062 kB / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3369, allocations: 3.938 kB / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3369, allocations: 4 kB / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3369, allocations: 3.094 kB / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3369, allocations: 0 / 0.548 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.337, allocations: 83 kB / 0.5481 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.337, allocations: 22.06 kB / 0.5481 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.337, allocations: 3.141 kB / 0.5481 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.3371, allocations: 3 kB / 0.5481 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.3371, allocations: 3.516 kB / 0.5481 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3371, allocations: 4 kB / 0.5481 GB, free: 23.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3372, allocations: 168.6 kB / 0.5483 GB, free: 23.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3372, allocations: 0 / 0.5483 GB, free: 23.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.3374, allocations: 6.469 kB / 0.5483 GB, free: 23.64 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 6.404e-05/0.3375, allocations: 95.91 kB / 0.5484 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.788e-05/0.3376, allocations: 16.3 kB / 0.5484 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3376, allocations: 0 / 0.5484 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.3376, allocations: 17.59 kB / 0.5484 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.3377, allocations: 11.22 kB / 0.5484 GB, free: 23.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.338, allocations: 189.6 kB / 0.5486 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.3382, allocations: 0.7074 MB / 0.5493 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.3382, allocations: 15.98 kB / 0.5493 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.3382, allocations: 10.66 kB / 0.5493 GB, free: 22.69 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3382, allocations: 0 / 0.5493 GB, free: 22.69 MB / 382.1 MB Notification: Performance of Templates: time 0.002674/0.3409, allocations: 0.6121 MB / 0.5499 GB, free: 22.61 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: 4.983937619952485] Failed to read output from testmodel.py, exit status != 0: 0.3487613128963858 0.358883126 0.022048665000000002 Calling exit ...