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.001316/0.001316, allocations: 119.5 kB / 18.5 MB, free: 4.574 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.001458/0.001458, allocations: 201.6 kB / 21.45 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.426/1.426, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002934/0.002934, allocations: 71.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.131, allocations: 53.32 MB / 427 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.006923/0.1379, allocations: 2.921 MB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1401, allocations: 0.7089 MB / 430.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.1405, allocations: 7.938 kB / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1408, allocations: 67.38 kB / 430.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1412, allocations: 83.25 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.1416, allocations: 95.81 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.1424, allocations: 386.8 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.1428, allocations: 120.5 kB / 431.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.1433, allocations: 155.5 kB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.1436, allocations: 159.3 kB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.1437, allocations: 32 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2114/0.3551, allocations: 33.61 kB / 431.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3552, allocations: 69.92 kB / 431.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3555, allocations: 168.3 kB / 432 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.3561, allocations: 390.7 kB / 432.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3561, allocations: 0 / 432.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3561, allocations: 0.9375 kB / 432.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3561, allocations: 0 / 432.4 MB, free: 7.914 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.0009557/0.357, allocations: 0.6311 MB / 433 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3571, allocations: 10.12 kB / 433 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.3572, allocations: 66.67 kB / 433.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.3572, allocations: 40.02 kB / 433.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.3576, allocations: 264.7 kB / 433.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3576, allocations: 23.88 kB / 433.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.3577, allocations: 31.94 kB / 433.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.3582, allocations: 286.2 kB / 433.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3582, allocations: 0 / 433.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3582, allocations: 14.09 kB / 433.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3582, allocations: 7.656 kB / 433.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.3587, allocations: 217.7 kB / 434 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.36, allocations: 1.022 MB / 435 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.3603, allocations: 155.3 kB / 435.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.3606, allocations: 118.3 kB / 435.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3606, allocations: 13.45 kB / 435.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3607, allocations: 35.5 kB / 435.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.3607, allocations: 0 / 435.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005636/0.3612, allocations: 221.4 kB / 435.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.3612, allocations: 66.8 kB / 435.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3614, allocations: 215.9 kB / 435.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3614, allocations: 26.8 kB / 435.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.3615, allocations: 190.8 kB / 436 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.3616, allocations: 85.69 kB / 436.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.3617, allocations: 50.06 kB / 436.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.3617, allocations: 331.2 kB / 436.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3619, allocations: 67.66 kB / 436.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.3621, allocations: 144 kB / 436.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.3625, allocations: 222.4 kB / 436.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.3625, allocations: 1.469 kB / 436.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005215/0.363, allocations: 274.8 kB / 437.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.363, allocations: 10.09 kB / 437.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.363, allocations: 2.25 kB / 437.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.363, allocations: 5.25 kB / 437.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3633, allocations: 72.36 kB / 437.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3633, allocations: 5.047 kB / 437.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.3635, allocations: 27.83 kB / 437.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.3635, allocations: 12.5 kB / 437.3 MB, free: 5.586 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 0.0001237/0.3637, allocations: 154.8 kB / 437.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.3637, allocations: 26.41 kB / 437.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.3641, allocations: 198.6 kB / 437.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3642, allocations: 2.984 kB / 437.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3642, allocations: 1.031 kB / 437.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3642, allocations: 0.7031 kB / 437.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.365, allocations: 0.6044 MB / 438.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.365, allocations: 1.625 kB / 438.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.3653, allocations: 57.33 kB / 438.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3653, allocations: 3.188 kB / 438.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3653, allocations: 9.234 kB / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3653, allocations: 2.781 kB / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3653, allocations: 0.7969 kB / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.3658, allocations: 378.8 kB / 438.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3659, allocations: 101.3 kB / 438.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3659, allocations: 6.25 kB / 438.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3661, allocations: 20.52 kB / 438.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.3662, allocations: 15.06 kB / 438.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3662, allocations: 5.109 kB / 438.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3663, allocations: 152.4 kB / 439 MB, free: 4.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3663, allocations: 0 / 439 MB, free: 4.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3666, allocations: 78.97 kB / 439.1 MB, free: 4.695 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.000738/0.3674, allocations: 0.9104 MB / 440 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.3678, allocations: 175.1 kB / 440.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3678, allocations: 0 / 440.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.368, allocations: 81.44 kB / 440.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3683, allocations: 30.33 kB / 440.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.3716, allocations: 2.838 MB / 443.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3718, allocations: 0.7674 MB / 443.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.372, allocations: 26.94 kB / 443.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3721, allocations: 88.2 kB / 444 MB, free: 1.102 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3721, allocations: 0 / 444 MB, free: 1.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.4026, allocations: 4.689 MB / 448.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.357, allocations: 11.73 kB / 448.7 MB, free: 0.4961 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.819617775734514] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'cosineCurrent.phi', 'inductor1.i', 'inductor2.i', 'sineCurrent.phi'] 8.428247969131917 8.447874084 8.088352736 Calling exit ...