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.001307/0.001307, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.00144/0.00144, allocations: 213.9 kB / 24.54 MB, free: 3.875 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001913/0.001913, allocations: 68.94 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2595, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00455/0.2641, allocations: 2.941 MB / 434.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2655, allocations: 0.7127 MB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.2657, allocations: 11.94 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.2659, allocations: 55.44 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2661, allocations: 91.19 kB / 435.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2664, allocations: 95.81 kB / 435.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.2669, allocations: 378.8 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.2672, allocations: 128.5 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.2676, allocations: 159.5 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2678, allocations: 155.3 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.2679, allocations: 32 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.2679, allocations: 32 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.268, allocations: 79.7 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.2682, allocations: 175.2 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.2687, allocations: 379.6 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2687, allocations: 0 / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2687, allocations: 0 / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.078e-06/0.2687, allocations: 11.94 kB / 437.3 MB, free: 1.465 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001055/0.2697, allocations: 0.5443 MB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.2698, allocations: 12.03 kB / 437.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.866e-05/0.2699, allocations: 70.72 kB / 438 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.27, allocations: 40.7 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.2704, allocations: 206.7 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2704, allocations: 21.03 kB / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.2705, allocations: 32.38 kB / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.2711, allocations: 282.2 kB / 438.5 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2711, allocations: 0 / 438.5 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.2711, allocations: 16 kB / 438.5 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2711, allocations: 11.94 kB / 438.6 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.2716, allocations: 218.5 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2732, allocations: 0.9759 MB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.2736, allocations: 154.5 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.2739, allocations: 136.7 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2739, allocations: 0 / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.2739, allocations: 34.56 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.2739, allocations: 4 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.000632/0.2746, allocations: 221.7 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.2746, allocations: 55.41 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2749, allocations: 223 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2749, allocations: 29.7 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2751, allocations: 196.4 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.2751, allocations: 71.38 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.2752, allocations: 53.98 kB / 440.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2754, allocations: 330.8 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.2756, allocations: 68.53 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2758, allocations: 143.3 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.2762, allocations: 229.2 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2762, allocations: 0 / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005072/0.2767, allocations: 273.1 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2768, allocations: 8 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2768, allocations: 12.23 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.2768, allocations: 4 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.2771, allocations: 63.91 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2771, allocations: 7.938 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2773, allocations: 35.77 kB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2773, allocations: 12 kB / 442.1 MB, free: 12.45 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.0001742/0.2775, allocations: 141.7 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.2775, allocations: 35.73 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.278, allocations: 195.3 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.278, allocations: 4 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.278, allocations: 3.984 kB / 442.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.278, allocations: 0 / 442.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.2789, allocations: 0.5871 MB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2789, allocations: 0 / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.2792, allocations: 55.97 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2792, allocations: 0 / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.2792, allocations: 7.984 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2792, allocations: 0 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2792, allocations: 0 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.2798, allocations: 379.6 kB / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.2799, allocations: 27.86 kB / 443.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.2799, allocations: 3.984 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2801, allocations: 19.98 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.2801, allocations: 15.98 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2801, allocations: 4 kB / 443.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2803, allocations: 164.5 kB / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2803, allocations: 0 / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000351/0.2807, allocations: 75.78 kB / 443.8 MB, free: 10.66 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.0009452/0.2816, allocations: 0.9173 MB / 444.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.282, allocations: 175.4 kB / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.282, allocations: 0 / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.2822, allocations: 75.89 kB / 444.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2826, allocations: 35.34 kB / 445 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.2863, allocations: 2.818 MB / 447.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.2867, allocations: 0.7675 MB / 448.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.2868, allocations: 33.86 kB / 448.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.287, allocations: 91.41 kB / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.287, allocations: 0 / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3166, allocations: 4.818 MB / 453.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.495, allocations: 3.453 kB / 453.5 MB, free: 0.8438 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.792756024282426] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'cosineCurrent.phi', 'inductor1.i', 'inductor2.i', 'sineCurrent.phi'] 8.566087788902223 8.581069397 8.309129605 Calling exit ...