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.001438/0.001438, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001636/0.001636, allocations: 212.2 kB / 23.48 MB, free: 5.227 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.498/1.498, allocations: 230.4 MB / 257 MB, free: 8.277 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [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.002775/0.002775, allocations: 71.89 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3041, allocations: 53.31 MB / 430.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007043/0.3111, allocations: 5.14 MB / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3151, allocations: 1.858 MB / 437.4 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/0.3158, allocations: 16 kB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003227/0.3191, allocations: 1.173 MB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.3211, allocations: 0.6392 MB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.3227, allocations: 0.6059 MB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3241, allocations: 0.7543 MB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.3252, allocations: 444.4 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.3259, allocations: 334.7 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006927/0.3266, allocations: 426.3 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.3268, allocations: 64 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.3276, allocations: 255.8 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3278, allocations: 163.4 kB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.3283, allocations: 378 kB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3301, allocations: 1.027 MB / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3301, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3301, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.3301, allocations: 0 / 443.6 MB, free: 9.988 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.004433/0.3346, allocations: 1.403 MB / 445 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3346, allocations: 8.031 kB / 445 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.3348, allocations: 127.1 kB / 445.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.3407, allocations: 0.7848 MB / 445.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008899/0.3416, allocations: 415.1 kB / 446.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.3417, allocations: 62.38 kB / 446.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.3419, allocations: 79.94 kB / 446.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3437, allocations: 0.7765 MB / 447.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.3438, allocations: 3.953 kB / 447.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.3439, allocations: 32 kB / 447.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3439, allocations: 16 kB / 447.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3458, allocations: 0.9135 MB / 448.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.3504, allocations: 2.764 MB / 451 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.3531, allocations: 2.119 MB / 453.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.3538, allocations: 292.1 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.354, allocations: 186.8 kB / 453.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.354, allocations: 39.22 kB / 453.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.587e-06/0.354, allocations: 3.938 kB / 453.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00385/0.3579, allocations: 1.339 MB / 455 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3579, allocations: 60.06 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.3583, allocations: 291 kB / 455.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.3584, allocations: 33.7 kB / 455.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.3586, allocations: 296.7 kB / 455.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.3589, allocations: 269.6 kB / 455.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.3591, allocations: 134.5 kB / 456 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3593, allocations: 354.7 kB / 456.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.3598, allocations: 237.8 kB / 456.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.3605, allocations: 362.5 kB / 457 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3616, allocations: 0.6337 MB / 457.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3616, allocations: 0 / 457.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001957/0.3636, allocations: 0.8647 MB / 458.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3636, allocations: 4 kB / 458.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3636, allocations: 4 kB / 458.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/0.3645, allocations: 208.7 kB / 458.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.3651, allocations: 135.8 kB / 458.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.369, allocations: 2.718 MB / 461.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.3695, allocations: 71.48 kB / 461.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.3696, allocations: 28 kB / 461.6 MB, free: 7.059 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.0003683/0.37, allocations: 201.6 kB / 461.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3701, allocations: 47.67 kB / 461.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.3721, allocations: 0.8898 MB / 462.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.3722, allocations: 11.94 kB / 462.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3722, allocations: 4 kB / 462.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3722, allocations: 3.984 kB / 462.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.3753, allocations: 1.695 MB / 464.5 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3753, allocations: 0 / 464.5 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.3758, allocations: 107.9 kB / 464.6 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007428/0.3765, allocations: 200.7 kB / 464.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.3766, allocations: 19.98 kB / 464.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.3802, allocations: 2.718 MB / 467.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3802, allocations: 0 / 467.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.3828, allocations: 1.253 MB / 468.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.3829, allocations: 132.7 kB / 468.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.383, allocations: 12 kB / 468.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.3834, allocations: 31.92 kB / 468.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.3835, allocations: 60.52 kB / 469 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.3836, allocations: 23.98 kB / 469 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.3838, allocations: 202 kB / 469.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3838, allocations: 4.062 kB / 469.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.3847, allocations: 239.5 kB / 469.4 MB, free: 14.97 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.00305/0.3877, allocations: 1.836 MB / 471.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3895, allocations: 0.8085 MB / 472.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3895, allocations: 7.875 kB / 472.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009263/0.3905, allocations: 0.5106 MB / 472.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.391, allocations: 60.81 kB / 472.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.3999, allocations: 5.069 MB / 477.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.4005, allocations: 0.8969 MB / 478.6 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.4008, allocations: 76.53 kB / 478.7 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.4012, allocations: 227.3 kB / 478.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4012, allocations: 0 / 478.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.4478, allocations: 12.59 MB / 491.5 MB, free: 8.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.27, allocations: 16.47 kB / 491.5 MB, free: 8.758 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.61856758990325] Failed to read output from testmodel.py, exit status != 0: 11.361476820195094 11.384620657 11.049590824 Calling exit ...