Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001324/0.001324, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001334/0.001334, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.462/1.462, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance",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.001873/0.001873, allocations: 63.91 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1041, allocations: 53.32 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004319/0.1085, allocations: 2.919 MB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1098, allocations: 0.7127 MB / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1099, allocations: 8 kB / 430.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1101, allocations: 63.36 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1103, allocations: 87.19 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1106, allocations: 87.89 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.111, allocations: 390.8 kB / 431.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.1113, allocations: 124.5 kB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.1116, allocations: 147.5 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1118, allocations: 163.3 kB / 431.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.1119, allocations: 32 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.1119, allocations: 32 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.112, allocations: 71.77 kB / 431.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1936/0.3056, allocations: 168 kB / 431.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.3062, allocations: 389.2 kB / 432.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3062, allocations: 0.625 kB / 432.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3062, allocations: 2.594 kB / 432.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3062, allocations: 0 / 432.3 MB, free: 7.953 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009319/0.3071, allocations: 0.6239 MB / 432.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3072, allocations: 8.812 kB / 432.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.777e-05/0.3073, allocations: 77.78 kB / 433 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.3073, allocations: 38.42 kB / 433 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3076, allocations: 268.9 kB / 433.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3077, allocations: 24.78 kB / 433.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.3077, allocations: 35.5 kB / 433.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.3082, allocations: 282.3 kB / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3082, allocations: 0 / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.3082, allocations: 16.69 kB / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3082, allocations: 9.359 kB / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.3086, allocations: 211.5 kB / 433.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3099, allocations: 1.025 MB / 434.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.3102, allocations: 155.7 kB / 435 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3104, allocations: 124.2 kB / 435.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3104, allocations: 9.984 kB / 435.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3104, allocations: 33 kB / 435.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.3104, allocations: 0 / 435.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005079/0.3109, allocations: 218.9 kB / 435.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.311, allocations: 60.11 kB / 435.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3111, allocations: 216.2 kB / 435.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3112, allocations: 32.17 kB / 435.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.3112, allocations: 191.6 kB / 435.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.3113, allocations: 86.69 kB / 436 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.3113, allocations: 52.66 kB / 436 MB, free: 6.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.3114, allocations: 329.9 kB / 436.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3115, allocations: 65.16 kB / 436.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3117, allocations: 145.1 kB / 436.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.312, allocations: 219.1 kB / 436.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.312, allocations: 1.25 kB / 436.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004995/0.3125, allocations: 274.1 kB / 437 MB, free: 5.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3125, allocations: 7.422 kB / 437 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3126, allocations: 6.531 kB / 437 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3126, allocations: 5.281 kB / 437 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3129, allocations: 72.97 kB / 437.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3129, allocations: 8.531 kB / 437.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.313, allocations: 26.47 kB / 437.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.313, allocations: 13.03 kB / 437.2 MB, free: 5.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 9.706e-05/0.3131, allocations: 147.9 kB / 437.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3132, allocations: 26.05 kB / 437.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.3136, allocations: 201.2 kB / 437.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3136, allocations: 3.344 kB / 437.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3136, allocations: 0.6562 kB / 437.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3136, allocations: 3.172 kB / 437.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.3143, allocations: 0.6007 MB / 438.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3143, allocations: 1.062 kB / 438.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.3145, allocations: 55.88 kB / 438.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3145, allocations: 2.766 kB / 438.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3146, allocations: 6.047 kB / 438.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.3146, allocations: 1.281 kB / 438.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3146, allocations: 5.125 kB / 438.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.3151, allocations: 374.9 kB / 438.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3151, allocations: 103.1 kB / 438.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3151, allocations: 10.23 kB / 438.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3153, allocations: 17.84 kB / 438.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3154, allocations: 14.69 kB / 438.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3154, allocations: 6.188 kB / 438.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3155, allocations: 154.6 kB / 438.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3155, allocations: 0 / 438.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.3158, allocations: 78.56 kB / 438.9 MB, free: 4.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * 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.0006428/0.3164, allocations: 0.9126 MB / 439.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.3168, allocations: 170.5 kB / 440 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3168, allocations: 3.938 kB / 440 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.317, allocations: 78.44 kB / 440.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3173, allocations: 41.28 kB / 440.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3201, allocations: 2.823 MB / 443 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.3203, allocations: 0.7663 MB / 443.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.3204, allocations: 24.88 kB / 443.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3205, allocations: 89.72 kB / 443.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3205, allocations: 0 / 443.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.3512, allocations: 4.693 MB / 448.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.443, allocations: 13.06 kB / 448.6 MB, free: 0.5898 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.780375794973224] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'cosineCurrent.phi', 'inductor1.i', 'inductor2.i', 'sineCurrent.phi'] 8.515207946300507 8.538727192 8.229398578 Calling exit ...