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.001806/0.001806, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002252/0.002252, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001708/0.001708, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1094, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.2347/0.3441, allocations: 5.1 MB / 431.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.3473, allocations: 1.856 MB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.3478, allocations: 16.25 kB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.3502, allocations: 1.181 MB / 434.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.3519, allocations: 0.624 MB / 435.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.353, allocations: 0.6121 MB / 435.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3542, allocations: 0.754 MB / 436.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000814/0.355, allocations: 445.4 kB / 436.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.3556, allocations: 339.6 kB / 437.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.3561, allocations: 428.2 kB / 437.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.3562, allocations: 63.44 kB / 437.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.3569, allocations: 251.2 kB / 438 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3571, allocations: 170.6 kB / 438.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.3574, allocations: 381.1 kB / 438.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3589, allocations: 1.021 MB / 439.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3589, allocations: 4.75 kB / 439.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3589, allocations: 0 / 439.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3589, allocations: 3.938 kB / 439.5 MB, free: 5.777 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.004225/0.3631, allocations: 1.399 MB / 440.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3632, allocations: 9.422 kB / 440.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.3633, allocations: 127.7 kB / 441.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.3696, allocations: 0.7866 MB / 441.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3707, allocations: 416 kB / 442.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.3708, allocations: 57.69 kB / 442.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.371, allocations: 83.5 kB / 442.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.3726, allocations: 0.7694 MB / 443.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.3726, allocations: 5.688 kB / 443.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.3727, allocations: 34.56 kB / 443.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3727, allocations: 18.91 kB / 443.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3744, allocations: 0.9069 MB / 444.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/0.3786, allocations: 2.773 MB / 446.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.3806, allocations: 2.113 MB / 449 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.3812, allocations: 295 kB / 449.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3815, allocations: 181.2 kB / 449.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.3815, allocations: 44.34 kB / 449.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.575e-06/0.3815, allocations: 0 / 449.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004045/0.3856, allocations: 1.336 MB / 450.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3856, allocations: 64.25 kB / 450.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3861, allocations: 297.5 kB / 451.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.3861, allocations: 36.27 kB / 451.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.3864, allocations: 297.9 kB / 451.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.3866, allocations: 261.2 kB / 451.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.3868, allocations: 126.5 kB / 451.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.387, allocations: 355.7 kB / 452.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.3875, allocations: 238.2 kB / 452.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.3882, allocations: 357 kB / 452.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.3893, allocations: 0.6349 MB / 453.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3893, allocations: 1.859 kB / 453.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002053/0.3914, allocations: 0.863 MB / 454.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.3914, allocations: 10.81 kB / 454.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3914, allocations: 2.75 kB / 454.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009337/0.3924, allocations: 214.9 kB / 454.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.393, allocations: 131.5 kB / 454.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/0.3972, allocations: 2.713 MB / 457.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.3978, allocations: 72.58 kB / 457.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.3979, allocations: 35.06 kB / 457.5 MB, free: 10.64 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.0003895/0.3983, allocations: 199.6 kB / 457.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3984, allocations: 49.98 kB / 457.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.4005, allocations: 0.8834 MB / 458.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.4005, allocations: 11.41 kB / 458.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4005, allocations: 3.188 kB / 458.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4005, allocations: 4.922 kB / 458.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.404, allocations: 1.698 MB / 460.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.404, allocations: 0 / 460.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.4046, allocations: 116.9 kB / 460.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007802/0.4053, allocations: 202.7 kB / 460.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.4054, allocations: 17.19 kB / 460.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/0.4091, allocations: 2.704 MB / 463.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4091, allocations: 1.219 kB / 463.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.4119, allocations: 1.261 MB / 464.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.4122, allocations: 127.9 kB / 464.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.4122, allocations: 15.03 kB / 464.8 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.4126, allocations: 35.3 kB / 464.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.4128, allocations: 50.86 kB / 464.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.4129, allocations: 27.73 kB / 464.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.4132, allocations: 203.4 kB / 465.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4132, allocations: 0 / 465.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00111/0.4143, allocations: 238 kB / 465.3 MB, free: 5.609 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.00323/0.4175, allocations: 1.848 MB / 467.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.4194, allocations: 0.8116 MB / 468 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4194, allocations: 4.25 kB / 468 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4204, allocations: 0.5074 MB / 468.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.4211, allocations: 64.67 kB / 468.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00891/0.4301, allocations: 5.084 MB / 473.6 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.4306, allocations: 0.8856 MB / 474.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003457/0.431, allocations: 78.83 kB / 474.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.4313, allocations: 225.7 kB / 474.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4313, allocations: 3.938 kB / 474.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/0.4866, allocations: 12.56 MB / 487.4 MB, free: 2.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.24, allocations: 5.141 kB / 487.4 MB, free: 2.785 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.982884678000119]