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.001148/0.001148, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.005/1.005, allocations: 177.2 MB / 200.3 MB, free: 5.363 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.00147/0.00147, allocations: 167.1 kB / 256.9 MB, free: 12.8 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.02413/0.02413, allocations: 6.658 MB / 320.1 MB, free: 26.33 MB / 266.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 4.008e-06/4.008e-06, allocations: 4 kB / 392.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.497e-05, allocations: 9.766 kB / 392.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001534/0.001569, allocations: 0.5206 MB / 392.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003072, allocations: 1.147 MB / 393.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.003105, allocations: 0 / 393.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.003382, allocations: 23.91 kB / 393.8 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.003441, allocations: 31.77 kB / 393.8 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.975e-06/0.003444, allocations: 0 / 393.8 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.003502, allocations: 23.92 kB / 393.8 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.00354, allocations: 0 / 393.8 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.003718, allocations: 31.91 kB / 393.9 MB, free: 480 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.003838, allocations: 27.97 kB / 393.9 MB, free: 452 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003853, allocations: 0 / 393.9 MB, free: 452 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.003864, allocations: 0 / 393.9 MB, free: 452 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.003998, allocations: 79.8 kB / 394 MB, free: 372 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.004022, allocations: 7.938 kB / 394 MB, free: 364 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.004106, allocations: 47.77 kB / 394 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004108, allocations: 0 / 394 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004109, allocations: 0 / 394 MB, free: 316 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004113, allocations: 0 / 394 MB, free: 316 kB / 314.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.0003767/0.004489, allocations: 440 kB / 394.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.004531, allocations: 12.03 kB / 394.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.004592, allocations: 140 kB / 394.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.004751, allocations: 264.5 kB / 394.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.004821, allocations: 242.8 kB / 395.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.00489, allocations: 242.8 kB / 395.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.128e-05/0.004962, allocations: 145.5 kB / 395.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.004998, allocations: 119.4 kB / 395.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.005069, allocations: 242.7 kB / 395.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/0.005135, allocations: 242.3 kB / 396.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.005202, allocations: 246.3 kB / 396.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.005482, allocations: 0.5764 MB / 396.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.005578, allocations: 265.4 kB / 397.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.005616, allocations: 130.9 kB / 397.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.00565, allocations: 119.2 kB / 397.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.005706, allocations: 152.6 kB / 397.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.005707, allocations: 0 / 397.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.409e-05/0.005771, allocations: 45.55 kB / 397.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.005829, allocations: 174.5 kB / 397.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.006016, allocations: 270.6 kB / 398 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.006025, allocations: 25.7 kB / 398 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.006098, allocations: 170.8 kB / 398.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-07/0.006098, allocations: 4 kB / 398.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.006121, allocations: 19.38 kB / 398.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.006271, allocations: 0.5001 MB / 398.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-06/0.006273, allocations: 4 kB / 398.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.006277, allocations: 0 / 398.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.006311, allocations: 123.2 kB / 398.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.006342, allocations: 119.2 kB / 399 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.675e-05/0.006399, allocations: 49.62 kB / 399 MB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.006439, allocations: 123.2 kB / 399.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.006474, allocations: 123.2 kB / 399.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.958e-05/0.006544, allocations: 250.3 kB / 399.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.381e-05/0.006578, allocations: 119.2 kB / 399.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-05/0.006641, allocations: 238.4 kB / 399.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.006732, allocations: 135.1 kB / 400 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.006765, allocations: 123.2 kB / 400.1 MB, free: 10.01 MB / 330.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 0.0001315/0.006896, allocations: 394.9 kB / 400.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.006961, allocations: 160.8 kB / 400.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.007027, allocations: 161.4 kB / 400.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/0.007101, allocations: 272.1 kB / 401.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-05/0.007169, allocations: 268 kB / 401.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/0.007238, allocations: 272 kB / 401.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.00746, allocations: 0.4926 MB / 402.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/0.007501, allocations: 160.9 kB / 402.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.007542, allocations: 148.8 kB / 402.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.898e-05/0.007611, allocations: 264.1 kB / 402.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.00768, allocations: 268.1 kB / 402.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.962e-05/0.00775, allocations: 268 kB / 403.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.088e-05/0.007821, allocations: 264.1 kB / 403.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.007982, allocations: 463.8 kB / 403.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.008047, allocations: 161.1 kB / 404 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.008128, allocations: 272 kB / 404.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.008215, allocations: 156.9 kB / 404.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.008291, allocations: 272 kB / 404.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.008332, allocations: 144.9 kB / 404.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.008434, allocations: 180.1 kB / 405 MB, free: 4.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008434, allocations: 0 / 405 MB, free: 4.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.008676, allocations: 4 kB / 405 MB, free: 4.867 MB / 330.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 0.0001057/0.008781, allocations: 214.4 kB / 405.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.418e-05/0.008816, allocations: 3.938 kB / 405.2 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.008818, allocations: 4 kB / 405.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.00882, allocations: 7.938 kB / 405.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.009213, allocations: 0.71 MB / 406 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.009493, allocations: 325.8 kB / 406.3 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.708e-05/0.00954, allocations: 71.31 kB / 406.4 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.009553, allocations: 0 / 406.4 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.009588, allocations: 66.2 kB / 406.4 MB, free: 3.414 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009589, allocations: 4 kB / 406.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of Templates: time 0.001898/0.01149, allocations: 265.5 kB / 406.7 MB, free: 3.156 MB / 330.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.9401636668480933]