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.001465/0.001465, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001363/0.001363, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.331/1.331, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001165/0.001165, allocations: 51.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08564, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004597/0.09027, allocations: 3.746 MB / 378.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1769/0.2672, allocations: 1.457 MB / 379.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.2678, allocations: 11.31 kB / 379.9 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.2695, allocations: 0.7607 MB / 380.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2707, allocations: 0.5579 MB / 381.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.2715, allocations: 427.5 kB / 381.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.2719, allocations: 488.6 kB / 382.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.2726, allocations: 385.8 kB / 382.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.2729, allocations: 226.3 kB / 382.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.2733, allocations: 281.1 kB / 382.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.2734, allocations: 51.69 kB / 383 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.2738, allocations: 209.7 kB / 383.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.2739, allocations: 108.5 kB / 383.3 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.2741, allocations: 248.8 kB / 383.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008042/0.2749, allocations: 0.7085 MB / 384.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2749, allocations: 0 / 384.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2749, allocations: 0 / 384.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2749, allocations: 0 / 384.3 MB, free: 8.609 MB / 318.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.002082/0.277, allocations: 0.9493 MB / 385.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2771, allocations: 9.484 kB / 385.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.2772, allocations: 101.3 kB / 385.3 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.2815, allocations: 0.5904 MB / 385.9 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.282, allocations: 313.1 kB / 386.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.2821, allocations: 45.16 kB / 386.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.2822, allocations: 64.52 kB / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2832, allocations: 0.5601 MB / 386.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2832, allocations: 0 / 386.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.2833, allocations: 25.84 kB / 386.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2833, allocations: 14.03 kB / 386.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2844, allocations: 0.6376 MB / 387.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.2874, allocations: 2.044 MB / 389.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.2894, allocations: 3.011 MB / 392.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.2897, allocations: 224 kB / 392.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.2898, allocations: 87.08 kB / 392.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2898, allocations: 43.03 kB / 393 MB, free: 2.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.613e-06/0.2898, allocations: 0 / 393 MB, free: 2.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.0018/0.2916, allocations: 0.798 MB / 393.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2917, allocations: 57.56 kB / 393.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2919, allocations: 200.2 kB / 394 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2919, allocations: 36.17 kB / 394 MB, free: 1.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.292, allocations: 246.8 kB / 394.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.2921, allocations: 176.1 kB / 394.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.2923, allocations: 103.2 kB / 394.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.2923, allocations: 340.4 kB / 394.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.2926, allocations: 159.5 kB / 395 MB, free: 1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.293, allocations: 273 kB / 395.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.2937, allocations: 460.4 kB / 395.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2937, allocations: 5.094 kB / 395.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0011/0.2948, allocations: 0.5838 MB / 396.3 MB, free: 268 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2948, allocations: 10.08 kB / 396.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2949, allocations: 4.219 kB / 396.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.2952, allocations: 90.97 kB / 396.4 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.2957, allocations: 107.1 kB / 396.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.2978, allocations: 2.046 MB / 398.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.2982, allocations: 53.64 kB / 398.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.2982, allocations: 21.8 kB / 398.7 MB, free: 14.37 MB / 334.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.0001939/0.2984, allocations: 179.2 kB / 398.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.2985, allocations: 26.83 kB / 398.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.2996, allocations: 0.5502 MB / 399.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2996, allocations: 9.031 kB / 399.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2996, allocations: 2.203 kB / 399.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2996, allocations: 3.375 kB / 399.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3014, allocations: 1.146 MB / 400.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3014, allocations: 0 / 400.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.3017, allocations: 79.05 kB / 400.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.3021, allocations: 95.75 kB / 400.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.3021, allocations: 13.48 kB / 400.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3043, allocations: 2.032 MB / 402.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3043, allocations: 1.375 kB / 402.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3057, allocations: 0.8047 MB / 403.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.3058, allocations: 115.6 kB / 403.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.3058, allocations: 8.422 kB / 403.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3061, allocations: 22.91 kB / 403.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.3062, allocations: 35.05 kB / 403.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3062, allocations: 18.75 kB / 403.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3064, allocations: 145 kB / 403.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3064, allocations: 0 / 403.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.307, allocations: 158 kB / 404.1 MB, free: 10.72 MB / 334.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.001823/0.3089, allocations: 1.384 MB / 405.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.31, allocations: 0.5883 MB / 406.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.31, allocations: 1.062 kB / 406.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.3107, allocations: 390.5 kB / 406.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.311, allocations: 43.16 kB / 406.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.3161, allocations: 3.635 MB / 410.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3165, allocations: 0.8212 MB / 411 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.3168, allocations: 53.55 kB / 411 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.317, allocations: 146.3 kB / 411.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.317, allocations: 0 / 411.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.3625, allocations: 7.897 MB / 419 MB, free: 1.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.42, allocations: 11.88 kB / 419.1 MB, free: 1.172 MB / 334.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches