Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.001222/0.001222, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.032/1.032, allocations: 177.1 MB / 200.5 MB, free: 5.836 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.001469/0.001469, allocations: 163.3 kB / 257 MB, free: 13.21 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.02438/0.02438, allocations: 6.66 MB / 320.1 MB, free: 26.59 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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 391.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.928e-05, allocations: 6.25 kB / 391.6 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004141/0.00418, allocations: 2.248 MB / 393.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.005339, allocations: 0.5181 MB / 394.4 MB, free: 176 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.005472, allocations: 4 kB / 394.4 MB, free: 172 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.005644, allocations: 23.72 kB / 394.4 MB, free: 148 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.005744, allocations: 39.62 kB / 394.5 MB, free: 108 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.005963, allocations: 39.95 kB / 394.5 MB, free: 68 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.006231, allocations: 171.2 kB / 394.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.006418, allocations: 57.95 kB / 394.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.006556, allocations: 95.78 kB / 394.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.006672, allocations: 43.89 kB / 394.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.006709, allocations: 12 kB / 394.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/0.006734, allocations: 16 kB / 394.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.006774, allocations: 35.83 kB / 394.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.006839, allocations: 47.91 kB / 395 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.007067, allocations: 115.6 kB / 395.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.007071, allocations: 0 / 395.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007073, allocations: 0 / 395.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.007078, allocations: 0 / 395.1 MB, free: 15.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006385/0.007717, allocations: 487.9 kB / 395.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.007762, allocations: 8.031 kB / 395.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.64e-05/0.007848, allocations: 32.8 kB / 395.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.008129, allocations: 168.2 kB / 395.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.008148, allocations: 12.23 kB / 395.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.008191, allocations: 20.31 kB / 395.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.008526, allocations: 185.7 kB / 396 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.008538, allocations: 4.188 kB / 396 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.008558, allocations: 4.375 kB / 396 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.008572, allocations: 7.938 kB / 396 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.008706, allocations: 56.69 kB / 396.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.009685, allocations: 0.7778 MB / 396.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.009847, allocations: 71.09 kB / 396.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.009903, allocations: 27.67 kB / 396.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.009913, allocations: 0 / 396.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.009944, allocations: 41.33 kB / 397 MB, free: 13.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.009946, allocations: 0 / 397 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002391/0.01018, allocations: 81.77 kB / 397.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.01022, allocations: 51.41 kB / 397.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01033, allocations: 213 kB / 397.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01035, allocations: 25.7 kB / 397.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.01042, allocations: 186.5 kB / 397.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.01044, allocations: 31.73 kB / 397.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.01048, allocations: 35.38 kB / 397.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.01059, allocations: 0.4922 MB / 398.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.01062, allocations: 19.98 kB / 398.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.01066, allocations: 62.36 kB / 398.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.01074, allocations: 82.31 kB / 398.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01074, allocations: 0 / 398.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001222/0.01086, allocations: 109.5 kB / 398.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01088, allocations: 4 kB / 398.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01088, allocations: 4 kB / 398.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.0109, allocations: 0 / 398.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.011, allocations: 27.92 kB / 398.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01101, allocations: 4 kB / 398.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.01104, allocations: 19.89 kB / 398.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.01105, allocations: 7.938 kB / 398.4 MB, free: 11.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.086e-05/0.01113, allocations: 168.6 kB / 398.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.01115, allocations: 7.953 kB / 398.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.01118, allocations: 16.77 kB / 398.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01118, allocations: 3.938 kB / 398.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01118, allocations: 0 / 398.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01119, allocations: 0 / 398.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.01131, allocations: 164.5 kB / 398.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01131, allocations: 0 / 398.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.01138, allocations: 12 kB / 398.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01138, allocations: 0 / 398.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01139, allocations: 11.98 kB / 398.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01139, allocations: 4 kB / 398.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01139, allocations: 0 / 398.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01156, allocations: 227.8 kB / 399 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.01158, allocations: 19.88 kB / 399 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.01159, allocations: 0 / 399 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.01164, allocations: 4 kB / 399 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.01167, allocations: 7.984 kB / 399.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.01168, allocations: 0 / 399.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.01173, allocations: 151.2 kB / 399.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 399.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.0119, allocations: 39.86 kB / 399.2 MB, free: 11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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 8.122e-05/0.01198, allocations: 95.23 kB / 399.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.01209, allocations: 51.61 kB / 399.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01209, allocations: 0 / 399.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.01212, allocations: 31.61 kB / 399.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01234, allocations: 12 kB / 399.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.01306, allocations: 343.2 kB / 399.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.01311, allocations: 71.28 kB / 399.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.673e-05/0.01314, allocations: 12.48 kB / 399.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.01317, allocations: 12.5 kB / 399.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01317, allocations: 0 / 399.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of Templates: time 0.003003/0.01617, allocations: 0.9023 MB / 400.8 MB, free: 9.426 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1959675261750817]