Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 109 kB / 17.15 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 51.94 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06565/0.06668, allocations: 46.63 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003965/0.07068, allocations: 3.76 MB / 330.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.07251, allocations: 1.461 MB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.07265, allocations: 8 kB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.074, allocations: 0.7159 MB / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000859/0.07487, allocations: 0.5214 MB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.0755, allocations: 398.8 kB / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.07586, allocations: 469.9 kB / 334 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.07634, allocations: 360.9 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.07657, allocations: 203.1 kB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.07681, allocations: 274.8 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.07687, allocations: 35.94 kB / 334.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.07716, allocations: 195.8 kB / 335.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.07724, allocations: 95.61 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.07741, allocations: 246.6 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.07796, allocations: 0.6814 MB / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.07797, allocations: 0 / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.07798, allocations: 0 / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.07799, allocations: 0 / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001757/0.07975, allocations: 0.9287 MB / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.0798, allocations: 20.02 kB / 337 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.07992, allocations: 96.02 kB / 337.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/0.08378, allocations: 0.5895 MB / 337.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.08409, allocations: 315.6 kB / 338 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.08413, allocations: 45.69 kB / 338.1 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.08421, allocations: 56.12 kB / 338.1 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.08509, allocations: 0.5609 MB / 338.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.08511, allocations: 0 / 338.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.08517, allocations: 28 kB / 338.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.08519, allocations: 12 kB / 338.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.08616, allocations: 0.6337 MB / 339.3 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.0887, allocations: 2.057 MB / 341.4 MB, free: 5.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.09076, allocations: 3.005 MB / 344.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.09109, allocations: 230 kB / 344.6 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.09117, allocations: 93.53 kB / 344.7 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.09119, allocations: 38.94 kB / 344.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.826e-06/0.0912, allocations: 3.984 kB / 344.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001651/0.09286, allocations: 0.8011 MB / 345.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.09289, allocations: 55.84 kB / 345.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.09306, allocations: 200.5 kB / 345.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.09309, allocations: 37.64 kB / 345.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.0932, allocations: 252 kB / 346.1 MB, free: 464 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.0933, allocations: 157.7 kB / 346.3 MB, free: 304 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.09342, allocations: 102.1 kB / 346.4 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.09353, allocations: 338.8 kB / 346.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.09381, allocations: 157 kB / 346.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.09414, allocations: 274 kB / 347.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.09475, allocations: 460.5 kB / 347.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.09477, allocations: 0 / 347.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009355/0.09571, allocations: 0.5902 MB / 348.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.09573, allocations: 8 kB / 348.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.09574, allocations: 3.938 kB / 348.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.09605, allocations: 92.8 kB / 348.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.09642, allocations: 107.8 kB / 348.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.09802, allocations: 1.85 MB / 350.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.09828, allocations: 55.38 kB / 350.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.09832, allocations: 20 kB / 350.3 MB, free: 12.03 MB / 302.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 (58): * Single equations (assignments): 57 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.09849, allocations: 181.8 kB / 350.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.09855, allocations: 23.72 kB / 350.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.0995, allocations: 0.5511 MB / 351 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.09952, allocations: 11.94 kB / 351 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.09953, allocations: 0 / 351 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.09954, allocations: 0 / 351 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.101, allocations: 1.145 MB / 352.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.101, allocations: 0 / 352.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1013, allocations: 79.91 kB / 352.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.1015, allocations: 88.92 kB / 352.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1016, allocations: 12 kB / 352.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.1031, allocations: 1.835 MB / 354.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1031, allocations: 8.094 kB / 354.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.1043, allocations: 0.8075 MB / 355 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1043, allocations: 108.8 kB / 355.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1044, allocations: 12 kB / 355.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1046, allocations: 19.97 kB / 355.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.1047, allocations: 36.39 kB / 355.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1047, allocations: 12 kB / 355.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1048, allocations: 148.1 kB / 355.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1048, allocations: 0 / 355.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.1053, allocations: 159.6 kB / 355.5 MB, free: 6.547 MB / 302.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 (44): * Single equations (assignments): 43 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/0.1068, allocations: 1.387 MB / 356.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008736/0.1077, allocations: 0.5932 MB / 357.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1077, allocations: 0 / 357.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.1082, allocations: 381.9 kB / 357.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1085, allocations: 32 kB / 357.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.1127, allocations: 3.834 MB / 361.7 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.113, allocations: 0.8211 MB / 362.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.1132, allocations: 51.27 kB / 362.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.1134, allocations: 143.4 kB / 362.7 MB, free: 15.08 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1134, allocations: 7.938 kB / 362.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.414/2.527, allocations: 7.413 MB / 370.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/2.528, allocations: 257 kB / 370.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/4.714, allocations: 0 / 370.4 MB, free: 7.367 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches