Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 43.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3093, allocations: 53.37 MB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007526/0.3168, allocations: 5.137 MB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.3209, allocations: 1.862 MB / 438.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.3215, allocations: 16 kB / 438.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.3245, allocations: 1.178 MB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.3264, allocations: 0.6279 MB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3279, allocations: 0.6231 MB / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.329, allocations: 0.7583 MB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008385/0.3299, allocations: 0.5309 MB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.3304, allocations: 338.7 kB / 442.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.3309, allocations: 426.3 kB / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.331, allocations: 60 kB / 442.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3316, allocations: 255.8 kB / 442.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3317, allocations: 171.3 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.3321, allocations: 378.1 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3335, allocations: 1.024 MB / 444.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3335, allocations: 4 kB / 444.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3335, allocations: 4 kB / 444.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3335, allocations: 0 / 444.5 MB, free: 9.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003903/0.3374, allocations: 1.328 MB / 445.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3375, allocations: 8.031 kB / 445.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.3376, allocations: 123.1 kB / 446 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.3432, allocations: 0.7809 MB / 446.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008638/0.3441, allocations: 366.5 kB / 447.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.3442, allocations: 62.38 kB / 447.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3443, allocations: 75.94 kB / 447.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3458, allocations: 0.7687 MB / 448 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.3458, allocations: 7.953 kB / 448 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.3459, allocations: 28 kB / 448 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3459, allocations: 20 kB / 448.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.3476, allocations: 0.9097 MB / 449 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.3521, allocations: 2.521 MB / 451.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.354, allocations: 0.7828 MB / 452.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.3546, allocations: 292.8 kB / 452.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.3547, allocations: 28.62 kB / 452.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3547, allocations: 47.2 kB / 452.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.936e-06/0.3547, allocations: 0 / 452.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003669/0.3584, allocations: 1.255 MB / 453.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3585, allocations: 60.06 kB / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.3589, allocations: 292.2 kB / 454.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.3589, allocations: 45.69 kB / 454.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.3592, allocations: 292.6 kB / 454.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.3594, allocations: 269.7 kB / 454.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3597, allocations: 122.6 kB / 454.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3599, allocations: 358.7 kB / 455.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.3603, allocations: 229.9 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.3609, allocations: 374.4 kB / 455.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.362, allocations: 0.6298 MB / 456.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.362, allocations: 0 / 456.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001839/0.3638, allocations: 0.8686 MB / 457.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.3638, allocations: 8 kB / 457.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3639, allocations: 4 kB / 457.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000802/0.3647, allocations: 204.7 kB / 457.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.3652, allocations: 135.8 kB / 457.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/0.3689, allocations: 2.597 MB / 460.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.3694, allocations: 71.45 kB / 460.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.3694, allocations: 31.92 kB / 460.4 MB, free: 9.047 MB / 366.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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003479/0.3698, allocations: 205.7 kB / 460.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3699, allocations: 47.67 kB / 460.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.3718, allocations: 0.882 MB / 461.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3718, allocations: 11.94 kB / 461.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3718, allocations: 4 kB / 461.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3718, allocations: 7.969 kB / 461.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.3747, allocations: 1.663 MB / 463.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3747, allocations: 0 / 463.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.3752, allocations: 115.8 kB / 463.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/0.376, allocations: 203.7 kB / 463.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.376, allocations: 16 kB / 463.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.3795, allocations: 2.61 MB / 466.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3795, allocations: 0 / 466.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.3819, allocations: 1.261 MB / 467.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.382, allocations: 59.48 kB / 467.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.382, allocations: 16 kB / 467.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.3824, allocations: 31.92 kB / 467.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3825, allocations: 52.55 kB / 467.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.3826, allocations: 32.05 kB / 467.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3828, allocations: 203.1 kB / 467.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3828, allocations: 0 / 467.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008803/0.3837, allocations: 239.5 kB / 468.1 MB, free: 1.203 MB / 366.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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003049/0.3867, allocations: 1.844 MB / 469.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.3885, allocations: 0.8008 MB / 470.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3885, allocations: 0 / 470.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.3894, allocations: 0.5145 MB / 471.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3899, allocations: 60.95 kB / 471.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.4006, allocations: 5.079 MB / 476.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.4016, allocations: 0.8853 MB / 477.2 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005359/0.4022, allocations: 76.53 kB / 477.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.4027, allocations: 223.3 kB / 477.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4027, allocations: 0 / 477.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/0.474, allocations: 13.08 MB / 490.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.89, allocations: 19.97 kB / 490.6 MB, free: 10.53 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n1.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n1.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n2.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n2.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.abs_i in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.abs_i from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.arg_i in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.arg_i from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.757082550000632]