Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001813/0.001813, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002362/0.002362, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 75.83 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.237, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006672/0.2437, allocations: 5.133 MB / 437.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.2471, allocations: 1.858 MB / 439 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.2474, allocations: 12 kB / 439.1 MB, free: 336 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.2501, allocations: 1.186 MB / 440.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.2517, allocations: 0.6286 MB / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.253, allocations: 0.6107 MB / 441.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009883/0.254, allocations: 0.7583 MB / 442.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.2547, allocations: 437.9 kB / 442.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.2551, allocations: 338.6 kB / 443 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.2556, allocations: 426.3 kB / 443.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.647e-05/0.2557, allocations: 60 kB / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.2562, allocations: 251.8 kB / 443.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.2564, allocations: 175.4 kB / 443.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.2567, allocations: 378.1 kB / 444.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.258, allocations: 1.019 MB / 445.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.258, allocations: 4 kB / 445.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.258, allocations: 0 / 445.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.258, allocations: 0 / 445.3 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003857/0.2618, allocations: 1.403 MB / 446.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2619, allocations: 12.03 kB / 446.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/0.2676, allocations: 0.7848 MB / 447.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.2684, allocations: 415.6 kB / 447.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.2685, allocations: 58.38 kB / 447.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.2686, allocations: 84.12 kB / 448 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.27, allocations: 0.7687 MB / 448.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.27, allocations: 3.953 kB / 448.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.2701, allocations: 36 kB / 448.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.2701, allocations: 27.92 kB / 448.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.2717, allocations: 0.9058 MB / 449.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.276, allocations: 2.764 MB / 452.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.2785, allocations: 2.111 MB / 454.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.2791, allocations: 295.2 kB / 454.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.2792, allocations: 186.8 kB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.2793, allocations: 47.16 kB / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.294e-06/0.2793, allocations: 3.938 kB / 455.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003662/0.283, allocations: 1.335 MB / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.283, allocations: 60.06 kB / 456.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.2833, allocations: 294.9 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.2834, allocations: 37.7 kB / 456.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.2836, allocations: 296.6 kB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.2838, allocations: 261.7 kB / 457.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.284, allocations: 130.6 kB / 457.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2842, allocations: 350.7 kB / 457.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.2847, allocations: 245.8 kB / 458.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.2852, allocations: 354.5 kB / 458.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2863, allocations: 0.6376 MB / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2863, allocations: 4 kB / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001791/0.2881, allocations: 0.8686 MB / 460 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2881, allocations: 4 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2881, allocations: 4 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/0.2889, allocations: 208.7 kB / 460.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.2894, allocations: 127.8 kB / 460.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.2929, allocations: 2.714 MB / 463 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.2934, allocations: 79.42 kB / 463.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.2934, allocations: 31.98 kB / 463.2 MB, free: 7.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.2937, allocations: 196.3 kB / 463.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.2938, allocations: 51.67 kB / 463.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.2957, allocations: 0.8819 MB / 464.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.2957, allocations: 11.94 kB / 464.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2957, allocations: 4 kB / 464.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2958, allocations: 3.984 kB / 464.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.2986, allocations: 1.703 MB / 466 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2986, allocations: 4 kB / 466 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.299, allocations: 107.9 kB / 466.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/0.2997, allocations: 203.7 kB / 466.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.2998, allocations: 23.98 kB / 466.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.3032, allocations: 2.701 MB / 469 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3032, allocations: 0 / 469 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.3056, allocations: 1.254 MB / 470.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3057, allocations: 132.7 kB / 470.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.3058, allocations: 12 kB / 470.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.3061, allocations: 35.92 kB / 470.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3062, allocations: 56.58 kB / 470.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.3063, allocations: 23.98 kB / 470.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.3065, allocations: 206 kB / 470.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3065, allocations: 0 / 470.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007704/0.3073, allocations: 239.5 kB / 471 MB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.3076, allocations: 151 kB / 471.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.3092, allocations: 0.8045 MB / 471.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3092, allocations: 4.812 kB / 471.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008941/0.3101, allocations: 0.5137 MB / 472.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3105, allocations: 56.81 kB / 472.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3126, allocations: 1.208 MB / 473.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.3131, allocations: 0.8891 MB / 474.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3133, allocations: 63.42 kB / 474.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3133, allocations: 0 / 474.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01423/0.3275, allocations: 10.24 MB / 484.9 MB, free: 1.164 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.402264281641692] Failed to read output from testmodel.py, exit status != 0: 0.3374916207976639 0.349984404 0.08894647800000001 Calling exit ...