Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 59.91 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3013, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007251/0.3086, allocations: 5.137 MB / 436.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.3125, allocations: 1.866 MB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.3128, allocations: 16 kB / 438.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.3156, allocations: 1.182 MB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.317, allocations: 0.6329 MB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3183, allocations: 0.6197 MB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009149/0.3192, allocations: 0.7582 MB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008382/0.3201, allocations: 0.5358 MB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.3205, allocations: 342.7 kB / 442.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.321, allocations: 418.4 kB / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.3211, allocations: 60 kB / 442.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.3217, allocations: 259.8 kB / 443 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3218, allocations: 175.3 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.3222, allocations: 366.2 kB / 443.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3235, allocations: 1.031 MB / 444.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3235, allocations: 3.938 kB / 444.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3235, allocations: 0 / 444.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3235, allocations: 0 / 444.6 MB, free: 9.285 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.003838/0.3273, allocations: 1.332 MB / 445.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3274, allocations: 8.031 kB / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.3275, allocations: 127 kB / 446 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005668/0.3332, allocations: 0.7809 MB / 446.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.3339, allocations: 362 kB / 447.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.3339, allocations: 62.38 kB / 447.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3341, allocations: 75.94 kB / 447.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.3355, allocations: 0.7765 MB / 448.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.3355, allocations: 3.953 kB / 448.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.3356, allocations: 36 kB / 448.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.3356, allocations: 16 kB / 448.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.3372, allocations: 0.9097 MB / 449 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.3414, allocations: 2.521 MB / 451.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3433, allocations: 0.7711 MB / 452.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.3438, allocations: 295.1 kB / 452.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3439, allocations: 32.61 kB / 452.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.344, allocations: 47.22 kB / 452.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.236e-06/0.344, allocations: 4 kB / 452.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003597/0.3476, allocations: 1.251 MB / 453.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3476, allocations: 60.06 kB / 454 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.348, allocations: 292.2 kB / 454.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.348, allocations: 41.7 kB / 454.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.3483, allocations: 300.6 kB / 454.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.3485, allocations: 269.7 kB / 454.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.3487, allocations: 122.6 kB / 455 MB, free: 14.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3489, allocations: 354.7 kB / 455.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.3494, allocations: 233.9 kB / 455.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.35, allocations: 366.5 kB / 455.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.3511, allocations: 0.6337 MB / 456.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3511, allocations: 0 / 456.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001779/0.3528, allocations: 0.8608 MB / 457.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3529, allocations: 12.03 kB / 457.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3529, allocations: 4 kB / 457.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.3537, allocations: 211.3 kB / 457.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.3542, allocations: 127.8 kB / 457.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.3578, allocations: 2.604 MB / 460.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.3583, allocations: 75.48 kB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.3583, allocations: 27.98 kB / 460.5 MB, free: 8.902 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.0003394/0.3587, allocations: 205.7 kB / 460.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.3588, allocations: 47.67 kB / 460.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.3607, allocations: 0.882 MB / 461.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.3607, allocations: 11.94 kB / 461.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3607, allocations: 4 kB / 461.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3607, allocations: 3.984 kB / 461.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.3636, allocations: 1.671 MB / 463.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3636, allocations: 0 / 463.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.3641, allocations: 111.9 kB / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006978/0.3648, allocations: 207.6 kB / 463.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.3648, allocations: 16 kB / 463.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.3682, allocations: 2.605 MB / 466.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3682, allocations: 0 / 466.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.3706, allocations: 1.265 MB / 467.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3707, allocations: 51.56 kB / 467.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3707, allocations: 12 kB / 467.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.3711, allocations: 31.92 kB / 467.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3712, allocations: 56.53 kB / 467.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.3712, allocations: 24 kB / 467.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.3715, allocations: 211.1 kB / 467.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3715, allocations: 0 / 467.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008024/0.3723, allocations: 239.5 kB / 468.1 MB, free: 1.066 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.002851/0.3751, allocations: 1.84 MB / 470 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3768, allocations: 0.8046 MB / 470.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3768, allocations: 0 / 470.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.3777, allocations: 0.5105 MB / 471.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.3782, allocations: 64.89 kB / 471.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008599/0.3868, allocations: 5.076 MB / 476.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.3875, allocations: 0.8853 MB / 477.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.3878, allocations: 80.52 kB / 477.4 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.3882, allocations: 223.3 kB / 477.6 MB, free: 7.324 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3882, allocations: 0 / 477.6 MB, free: 7.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/0.453, allocations: 13.07 MB / 490.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.02, allocations: 9.359 kB / 490.7 MB, free: 10.38 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n1.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n1.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable transformer.pin_n2.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable transformer.pin_n2.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.abs_i in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.abs_i from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! Error: Could not read variable currentSensor.arg_i in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv. Warning: Get data of variable currentSensor.arg_i from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.757489607000025]