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.001162/0.001162, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.00121/0.00121, allocations: 191 kB / 18 MB, free: 5.098 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 39.94 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3005, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005096/0.3056, allocations: 3.695 MB / 403.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3084, allocations: 1.433 MB / 405.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.3086, allocations: 8 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.3104, allocations: 0.7545 MB / 406.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.3116, allocations: 0.5356 MB / 406.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.3124, allocations: 432.8 kB / 407.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.3129, allocations: 462 kB / 407.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.3137, allocations: 464.9 kB / 408 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.3141, allocations: 215.1 kB / 408.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.3144, allocations: 271 kB / 408.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.3145, allocations: 44 kB / 408.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.3149, allocations: 215.8 kB / 408.7 MB, free: 316 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.315, allocations: 103.6 kB / 408.8 MB, free: 212 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.3152, allocations: 250.8 kB / 409.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008051/0.3161, allocations: 0.6887 MB / 409.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3161, allocations: 3.984 kB / 409.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3161, allocations: 0 / 409.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3161, allocations: 0 / 409.8 MB, free: 15.27 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.002169/0.3183, allocations: 0.9162 MB / 410.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3183, allocations: 15.89 kB / 410.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.3185, allocations: 107.9 kB / 410.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.3219, allocations: 496.1 kB / 411.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.3224, allocations: 307.7 kB / 411.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.3225, allocations: 45.62 kB / 411.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.3226, allocations: 52.38 kB / 411.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009542/0.3235, allocations: 0.5336 MB / 412.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3235, allocations: 0 / 412.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/0.3236, allocations: 23.98 kB / 412.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3236, allocations: 16 kB / 412.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009819/0.3246, allocations: 0.5751 MB / 412.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.3274, allocations: 1.879 MB / 414.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.3297, allocations: 2.163 MB / 416.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.3302, allocations: 270 kB / 417.1 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.3303, allocations: 89.55 kB / 417.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3303, allocations: 42.98 kB / 417.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 3.547e-06/0.3303, allocations: 3.984 kB / 417.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.00216/0.3325, allocations: 0.7389 MB / 418 MB, free: 6.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3325, allocations: 59.84 kB / 418.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.3328, allocations: 182.3 kB / 418.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.3328, allocations: 37.64 kB / 418.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.333, allocations: 228.9 kB / 418.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.3331, allocations: 162.6 kB / 418.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3332, allocations: 86.2 kB / 418.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3334, allocations: 338.8 kB / 419.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.3337, allocations: 161 kB / 419.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.3341, allocations: 234.6 kB / 419.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.3348, allocations: 416.9 kB / 419.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3348, allocations: 0 / 419.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001269/0.3361, allocations: 0.5397 MB / 420.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3361, allocations: 14.28 kB / 420.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3361, allocations: 0 / 420.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.3365, allocations: 84.78 kB / 420.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.337, allocations: 91.89 kB / 420.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.3394, allocations: 1.778 MB / 422.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.3399, allocations: 51.66 kB / 422.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.3399, allocations: 19.94 kB / 422.4 MB, free: 1.672 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.0003359/0.3403, allocations: 161.8 kB / 422.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3404, allocations: 27.84 kB / 422.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.3422, allocations: 0.5435 MB / 423.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3422, allocations: 4 kB / 423.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3422, allocations: 7.938 kB / 423.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3422, allocations: 0 / 423.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.3452, allocations: 1.148 MB / 424.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3453, allocations: 0 / 424.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.3458, allocations: 83.89 kB / 424.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.3463, allocations: 76.8 kB / 424.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.3464, allocations: 12 kB / 424.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.3493, allocations: 1.766 MB / 426.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3493, allocations: 3.984 kB / 426.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.3516, allocations: 0.803 MB / 427.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3517, allocations: 108.8 kB / 427.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.3518, allocations: 12 kB / 427.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.3523, allocations: 19.98 kB / 427.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.3525, allocations: 40.39 kB / 427.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.3526, allocations: 19.98 kB / 427.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.3528, allocations: 136.2 kB / 427.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3528, allocations: 0 / 427.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009045/0.3537, allocations: 143.7 kB / 427.5 MB, free: 12.3 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.002831/0.3565, allocations: 1.388 MB / 428.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.3584, allocations: 0.5737 MB / 429.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3584, allocations: 4 kB / 429.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.3594, allocations: 377 kB / 429.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.36, allocations: 48.53 kB / 429.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/0.367, allocations: 3.438 MB / 433.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3675, allocations: 0.8084 MB / 434.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.3677, allocations: 50.95 kB / 434.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.3679, allocations: 131.4 kB / 434.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3679, allocations: 0 / 434.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.3973, allocations: 7.582 MB / 441.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.741/10.14, allocations: 8.562 kB / 441.9 MB, free: 13.83 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