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.001314/0.001314, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2704, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005551/0.276, allocations: 3.708 MB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2787, allocations: 1.483 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.2791, allocations: 8 kB / 414 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.2812, allocations: 0.7579 MB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.2824, allocations: 390 kB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2837, allocations: 0.5463 MB / 415.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.2845, allocations: 462 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.2854, allocations: 464.8 kB / 416.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.2858, allocations: 219.2 kB / 416.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.2863, allocations: 282.9 kB / 417 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2864, allocations: 48 kB / 417.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.2869, allocations: 219.7 kB / 417.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2871, allocations: 103.7 kB / 417.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.2874, allocations: 234.8 kB / 417.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009561/0.2883, allocations: 0.7082 MB / 418.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.2884, allocations: 3.984 kB / 418.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2884, allocations: 0 / 418.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.2884, allocations: 0 / 418.3 MB, free: 7.914 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.002764/0.2912, allocations: 0.92 MB / 419.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2912, allocations: 12.03 kB / 419.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.2914, allocations: 111.9 kB / 419.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.2951, allocations: 496.2 kB / 419.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.2957, allocations: 307.7 kB / 420.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.2957, allocations: 41.69 kB / 420.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.2958, allocations: 56.33 kB / 420.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.2969, allocations: 0.5336 MB / 420.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.2969, allocations: 0 / 420.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.297, allocations: 20 kB / 420.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.297, allocations: 15.94 kB / 420.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2981, allocations: 0.5829 MB / 421.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.3013, allocations: 1.954 MB / 423.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.3034, allocations: 2.166 MB / 425.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.3039, allocations: 266.1 kB / 425.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.3041, allocations: 178.5 kB / 426 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3041, allocations: 38.94 kB / 426 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/0.3041, allocations: 0 / 426 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001747/0.3059, allocations: 0.7428 MB / 426.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3059, allocations: 55.84 kB / 426.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3061, allocations: 190.3 kB / 427 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3062, allocations: 29.7 kB / 427 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3063, allocations: 225 kB / 427.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.3064, allocations: 174.5 kB / 427.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3066, allocations: 86.23 kB / 427.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3067, allocations: 338.8 kB / 427.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.307, allocations: 149.1 kB / 428 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.3073, allocations: 242.5 kB / 428.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.308, allocations: 412.9 kB / 428.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.308, allocations: 4 kB / 428.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009979/0.309, allocations: 0.5355 MB / 429.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3091, allocations: 8 kB / 429.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3091, allocations: 4 kB / 429.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.3094, allocations: 89.02 kB / 429.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3098, allocations: 91.83 kB / 429.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.3116, allocations: 1.787 MB / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.3119, allocations: 43.61 kB / 431.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3119, allocations: 20 kB / 431.2 MB, free: 10.11 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.0002125/0.3121, allocations: 173.7 kB / 431.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.3122, allocations: 35.81 kB / 431.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.3133, allocations: 0.5317 MB / 431.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3133, allocations: 8 kB / 431.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3133, allocations: 3.938 kB / 431.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3133, allocations: 3.984 kB / 431.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3151, allocations: 1.144 MB / 433.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.3151, allocations: 4 kB / 433.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.3154, allocations: 71.91 kB / 433.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.3157, allocations: 84.86 kB / 433.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3157, allocations: 8 kB / 433.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.3173, allocations: 1.774 MB / 435 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3174, allocations: 4.031 kB / 435 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3187, allocations: 0.7952 MB / 435.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.3188, allocations: 120.8 kB / 435.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.3189, allocations: 8.062 kB / 435.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3191, allocations: 20 kB / 436 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.3192, allocations: 40.31 kB / 436 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.3192, allocations: 16 kB / 436 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.3194, allocations: 128.2 kB / 436.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3194, allocations: 3.938 kB / 436.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.3199, allocations: 155.7 kB / 436.3 MB, free: 4.727 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.001706/0.3216, allocations: 1.379 MB / 437.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3227, allocations: 0.562 MB / 438.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3227, allocations: 3.938 kB / 438.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.3233, allocations: 389.6 kB / 438.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3237, allocations: 36.27 kB / 438.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.3286, allocations: 3.453 MB / 442.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.329, allocations: 0.8123 MB / 442.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3292, allocations: 46.95 kB / 443 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.3294, allocations: 135.4 kB / 443.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3295, allocations: 0 / 443.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.3591, allocations: 7.619 MB / 450.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.856/10.22, allocations: 6.859 kB / 450.7 MB, free: 6.23 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.0.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