Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",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.001789/0.001789, allocations: 107.6 kB / 17.06 MB, free: 5.793 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.00191/0.00191, allocations: 200 kB / 18.01 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2634, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005145/0.2686, allocations: 3.692 MB / 403.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.2712, allocations: 1.429 MB / 405.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2714, allocations: 12 kB / 405.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.2731, allocations: 0.7527 MB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.2742, allocations: 0.5387 MB / 406.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000813/0.2751, allocations: 437.9 kB / 407.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.2756, allocations: 462 kB / 407.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007582/0.2763, allocations: 464.9 kB / 408 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.2767, allocations: 215.2 kB / 408.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.277, allocations: 274.9 kB / 408.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/0.2771, allocations: 44 kB / 408.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.2775, allocations: 211.8 kB / 408.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.151e-05/0.2776, allocations: 111.6 kB / 408.8 MB, free: 184 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.2779, allocations: 234.9 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.2787, allocations: 0.6888 MB / 409.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2787, allocations: 7.938 kB / 409.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2787, allocations: 0 / 409.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.2788, allocations: 0 / 409.8 MB, free: 15.25 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00213/0.2809, allocations: 0.92 MB / 410.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2809, allocations: 12.03 kB / 410.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.2811, allocations: 103.9 kB / 410.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/0.2845, allocations: 0.4884 MB / 411.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.2851, allocations: 311.8 kB / 411.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.2851, allocations: 41.62 kB / 411.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.024e-05/0.2852, allocations: 60.38 kB / 411.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.2862, allocations: 0.5257 MB / 412.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2863, allocations: 0 / 412.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.2863, allocations: 28 kB / 412.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.2863, allocations: 12 kB / 412.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2874, allocations: 0.5751 MB / 412.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.2904, allocations: 1.887 MB / 414.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.2927, allocations: 2.17 MB / 416.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.2933, allocations: 266 kB / 417.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.774e-05/0.2934, allocations: 93.53 kB / 417.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2934, allocations: 35 kB / 417.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.2934, allocations: 0 / 417.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001781/0.2952, allocations: 0.7428 MB / 418 MB, free: 6.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2953, allocations: 55.84 kB / 418.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.2955, allocations: 186.3 kB / 418.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2955, allocations: 33.7 kB / 418.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.2957, allocations: 224.9 kB / 418.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.2958, allocations: 170.5 kB / 418.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.2959, allocations: 86.2 kB / 418.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2961, allocations: 342.8 kB / 419.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.2964, allocations: 153 kB / 419.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.2968, allocations: 234.6 kB / 419.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.2975, allocations: 416.9 kB / 419.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.2975, allocations: 4 kB / 419.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001037/0.2986, allocations: 0.5319 MB / 420.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2986, allocations: 8 kB / 420.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2986, allocations: 7.938 kB / 420.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.2989, allocations: 76.8 kB / 420.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.2993, allocations: 99.88 kB / 420.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.3013, allocations: 1.774 MB / 422.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.3016, allocations: 43.67 kB / 422.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.3017, allocations: 23.98 kB / 422.4 MB, free: 1.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.3019, allocations: 161.7 kB / 422.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.302, allocations: 31.92 kB / 422.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3031, allocations: 0.5356 MB / 423.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3031, allocations: 8 kB / 423.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3031, allocations: 7.875 kB / 423.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3031, allocations: 3.984 kB / 423.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.3049, allocations: 1.152 MB / 424.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3049, allocations: 7.938 kB / 424.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3053, allocations: 79.89 kB / 424.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.3055, allocations: 72.81 kB / 424.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.3056, allocations: 16.06 kB / 424.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.3074, allocations: 1.77 MB / 426.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.3074, allocations: 4.031 kB / 426.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3088, allocations: 0.7952 MB / 427.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.3089, allocations: 112.9 kB / 427.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3089, allocations: 8 kB / 427.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3092, allocations: 23.92 kB / 427.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.3092, allocations: 40.39 kB / 427.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.3093, allocations: 16 kB / 427.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3094, allocations: 140.2 kB / 427.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3094, allocations: 0 / 427.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.3099, allocations: 147.7 kB / 427.5 MB, free: 12.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.3117, allocations: 1.383 MB / 428.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3127, allocations: 0.5697 MB / 429.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3127, allocations: 4 kB / 429.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.3133, allocations: 377.7 kB / 429.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.3136, allocations: 31.94 kB / 429.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.3183, allocations: 3.457 MB / 433.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3187, allocations: 0.8045 MB / 434.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.3189, allocations: 54.89 kB / 434.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3191, allocations: 135.4 kB / 434.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3191, allocations: 0 / 434.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.3564, allocations: 7.573 MB / 441.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.47, allocations: 15.22 kB / 441.9 MB, free: 13.81 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches