Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001362/0.001362, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 55.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2772, allocations: 50.55 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005358/0.2826, allocations: 3.704 MB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.2854, allocations: 1.487 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.2856, allocations: 8 kB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.2876, allocations: 0.754 MB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.2886, allocations: 394 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2897, allocations: 0.5445 MB / 415.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.2903, allocations: 462 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.2911, allocations: 468.8 kB / 416.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.2914, allocations: 219.2 kB / 416.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.2918, allocations: 274.9 kB / 417 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.2918, allocations: 44 kB / 417.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.2923, allocations: 219.8 kB / 417.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.2924, allocations: 111.7 kB / 417.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.2927, allocations: 230.9 kB / 417.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008728/0.2935, allocations: 0.7082 MB / 418.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2936, allocations: 4 kB / 418.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2936, allocations: 0 / 418.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2936, allocations: 0 / 418.3 MB, free: 7.922 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.002147/0.2957, allocations: 0.9277 MB / 419.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2958, allocations: 8.031 kB / 419.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.2959, allocations: 95.97 kB / 419.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.2994, allocations: 0.4923 MB / 419.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.3, allocations: 311.7 kB / 420.2 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.3, allocations: 45.69 kB / 420.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3001, allocations: 52.33 kB / 420.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/0.3011, allocations: 0.5336 MB / 420.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3011, allocations: 0 / 420.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.3012, allocations: 24 kB / 420.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.3012, allocations: 19.94 kB / 420.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3023, allocations: 0.5712 MB / 421.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.3055, allocations: 1.958 MB / 423.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.3078, allocations: 2.17 MB / 425.5 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.3083, allocations: 262.1 kB / 425.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.3085, allocations: 174.6 kB / 425.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3086, allocations: 46.92 kB / 426 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.805e-06/0.3086, allocations: 0 / 426 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00184/0.3104, allocations: 0.7427 MB / 426.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3105, allocations: 59.84 kB / 426.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3107, allocations: 186.3 kB / 427 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.3108, allocations: 37.7 kB / 427 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3109, allocations: 225 kB / 427.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3111, allocations: 162.5 kB / 427.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.3112, allocations: 86.25 kB / 427.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3114, allocations: 342.8 kB / 427.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.3117, allocations: 149 kB / 428 MB, free: 13.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.3121, allocations: 238.5 kB / 428.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.3128, allocations: 420.9 kB / 428.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3128, allocations: 0 / 428.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001087/0.3139, allocations: 0.5397 MB / 429.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3139, allocations: 6.812 kB / 429.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3139, allocations: 8 kB / 429.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.3143, allocations: 76.8 kB / 429.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.3147, allocations: 103.8 kB / 429.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.3168, allocations: 1.771 MB / 431.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.3171, allocations: 51.59 kB / 431.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3171, allocations: 23.94 kB / 431.2 MB, free: 10.12 MB / 350.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.0002536/0.3174, allocations: 169.8 kB / 431.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.3175, allocations: 31.8 kB / 431.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.3186, allocations: 0.5395 MB / 431.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3187, allocations: 4 kB / 431.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3187, allocations: 3.938 kB / 431.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3187, allocations: 0 / 431.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.3205, allocations: 1.144 MB / 433.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3206, allocations: 3.984 kB / 433.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.3209, allocations: 75.91 kB / 433.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.3212, allocations: 80.86 kB / 433.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.3212, allocations: 12 kB / 433.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.3231, allocations: 1.766 MB / 435 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3231, allocations: 4 kB / 435 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.3245, allocations: 0.8108 MB / 435.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3247, allocations: 108.8 kB / 435.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3247, allocations: 12 kB / 435.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.325, allocations: 16.05 kB / 435.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3251, allocations: 44.33 kB / 436 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.3251, allocations: 15.98 kB / 436 MB, free: 5.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3252, allocations: 132.2 kB / 436.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3252, allocations: 0 / 436.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005585/0.3258, allocations: 147.7 kB / 436.3 MB, free: 4.742 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.001839/0.3277, allocations: 1.383 MB / 437.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3288, allocations: 0.5698 MB / 438.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3289, allocations: 3.938 kB / 438.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.3295, allocations: 381.6 kB / 438.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3299, allocations: 43.3 kB / 438.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.3349, allocations: 3.459 MB / 442.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3354, allocations: 0.8084 MB / 442.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.3356, allocations: 50.95 kB / 443 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.3358, allocations: 135.4 kB / 443.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3358, allocations: 0 / 443.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.3753, allocations: 7.614 MB / 450.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.77, allocations: 7.484 kB / 450.7 MB, free: 6.234 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches