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.00141/0.00141, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.351/1.351, allocations: 177.1 MB / 199.4 MB, free: 8.43 MB / 190.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.001527/0.001527, allocations: 160 kB / 256 MB, free: 4.324 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.0567/0.0567, allocations: 6.668 MB / 319 MB, free: 5.383 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.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 1.793e-06/1.793e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.221e-05, allocations: 2.281 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003519/0.003551, allocations: 2.163 MB / 448 MB, free: 23.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.004769, allocations: 0.5064 MB / 448.6 MB, free: 22.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.004958, allocations: 4 kB / 448.6 MB, free: 22.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.005151, allocations: 27.72 kB / 448.6 MB, free: 22.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.005276, allocations: 35.64 kB / 448.6 MB, free: 22.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.005454, allocations: 47.94 kB / 448.7 MB, free: 22.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.005645, allocations: 167.2 kB / 448.8 MB, free: 22.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.005786, allocations: 45.33 kB / 448.9 MB, free: 22.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.005926, allocations: 95.78 kB / 449 MB, free: 22.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.00602, allocations: 43.88 kB / 449 MB, free: 22.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.006054, allocations: 12 kB / 449 MB, free: 22.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.006077, allocations: 19.94 kB / 449 MB, free: 22.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.006106, allocations: 43.83 kB / 449.1 MB, free: 21.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.006156, allocations: 47.86 kB / 449.1 MB, free: 21.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.006352, allocations: 167.4 kB / 449.3 MB, free: 21.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006354, allocations: 0 / 449.3 MB, free: 21.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006355, allocations: 0 / 449.3 MB, free: 21.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.006366, allocations: 4 kB / 449.3 MB, free: 21.77 MB / 334.1 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.0005768/0.006943, allocations: 377.6 kB / 449.7 MB, free: 21.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.006984, allocations: 15.98 kB / 449.7 MB, free: 21.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.007035, allocations: 16.84 kB / 449.7 MB, free: 21.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.007288, allocations: 161.5 kB / 449.9 MB, free: 21.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.007307, allocations: 8.375 kB / 449.9 MB, free: 21.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.007343, allocations: 16.38 kB / 449.9 MB, free: 21.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.007633, allocations: 195.7 kB / 450.1 MB, free: 20.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.007646, allocations: 4.172 kB / 450.1 MB, free: 20.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.007665, allocations: 12.38 kB / 450.1 MB, free: 20.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.007672, allocations: 7.938 kB / 450.1 MB, free: 20.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.007845, allocations: 84.8 kB / 450.2 MB, free: 20.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.008593, allocations: 0.6328 MB / 450.8 MB, free: 20.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.008773, allocations: 66.56 kB / 450.9 MB, free: 20.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.008839, allocations: 40.84 kB / 450.9 MB, free: 20.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.008855, allocations: 3.984 kB / 450.9 MB, free: 20.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.008873, allocations: 34.56 kB / 451 MB, free: 19.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.008875, allocations: 0 / 451 MB, free: 19.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002636/0.009138, allocations: 105.7 kB / 451.1 MB, free: 19.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.009159, allocations: 51.41 kB / 451.1 MB, free: 19.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.009258, allocations: 157.4 kB / 451.3 MB, free: 19.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.009269, allocations: 25.7 kB / 451.3 MB, free: 19.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.00932, allocations: 147.7 kB / 451.4 MB, free: 19.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.009335, allocations: 23.8 kB / 451.5 MB, free: 19.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.009374, allocations: 37.66 kB / 451.5 MB, free: 19.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.009417, allocations: 326.7 kB / 451.8 MB, free: 19.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.00948, allocations: 31.98 kB / 451.8 MB, free: 19.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.009545, allocations: 56.28 kB / 451.9 MB, free: 18.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.009687, allocations: 96.16 kB / 452 MB, free: 18.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009689, allocations: 0 / 452 MB, free: 18.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002259/0.009915, allocations: 129.5 kB / 452.1 MB, free: 18.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.009934, allocations: 8 kB / 452.1 MB, free: 18.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009939, allocations: 0 / 452.1 MB, free: 18.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.009959, allocations: 7.938 kB / 452.1 MB, free: 18.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01009, allocations: 23.98 kB / 452.2 MB, free: 18.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.0101, allocations: 0 / 452.2 MB, free: 18.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.01017, allocations: 11.89 kB / 452.2 MB, free: 18.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.01018, allocations: 4 kB / 452.2 MB, free: 18.66 MB / 334.1 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 7.118e-05/0.01025, allocations: 129.7 kB / 452.3 MB, free: 18.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.01028, allocations: 12.05 kB / 452.3 MB, free: 18.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.01031, allocations: 20.77 kB / 452.3 MB, free: 18.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01031, allocations: 0 / 452.3 MB, free: 18.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01031, allocations: 0 / 452.3 MB, free: 18.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01032, allocations: 0 / 452.3 MB, free: 18.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01045, allocations: 153.2 kB / 452.5 MB, free: 18.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01046, allocations: 4 kB / 452.5 MB, free: 18.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.01055, allocations: 16 kB / 452.5 MB, free: 18.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01055, allocations: 0 / 452.5 MB, free: 18.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01056, allocations: 4 kB / 452.5 MB, free: 18.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01057, allocations: 0 / 452.5 MB, free: 18.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01057, allocations: 8.297 kB / 452.5 MB, free: 18.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.01079, allocations: 219.3 kB / 452.7 MB, free: 18.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.01081, allocations: 11.97 kB / 452.7 MB, free: 18.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01083, allocations: 0 / 452.7 MB, free: 18.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.01092, allocations: 8 kB / 452.7 MB, free: 18.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.01096, allocations: 3.984 kB / 452.7 MB, free: 18.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.01097, allocations: 4 kB / 452.8 MB, free: 18.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.01102, allocations: 111.3 kB / 452.9 MB, free: 17.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01102, allocations: 0 / 452.9 MB, free: 17.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.01128, allocations: 39.89 kB / 452.9 MB, free: 17.88 MB / 334.1 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.264e-05/0.01136, allocations: 103.2 kB / 453 MB, free: 17.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01154, allocations: 63.84 kB / 453.1 MB, free: 17.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01154, allocations: 0 / 453.1 MB, free: 17.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.01159, allocations: 23.98 kB / 453.1 MB, free: 17.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.01189, allocations: 18.78 kB / 453.1 MB, free: 17.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.01249, allocations: 330 kB / 453.4 MB, free: 17.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.092e-05/0.01255, allocations: 110.9 kB / 453.5 MB, free: 17.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.144e-05/0.01259, allocations: 8.484 kB / 453.5 MB, free: 17.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.01262, allocations: 12.5 kB / 453.6 MB, free: 17.16 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.01262, allocations: 3.938 kB / 453.6 MB, free: 17.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003733/0.01636, allocations: 0.8825 MB / 454.4 MB, free: 16.3 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3284386694431305] Failed to read output from testmodel.py, exit status != 0: 0.023240752518177032 0.033477992000000005 0.024973741 Calling exit ...