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.001326/0.001326, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.0015/0.0015, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.00172/0.00172, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2302, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006748/0.237, allocations: 4.555 MB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.2403, allocations: 1.721 MB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.2408, allocations: 16 kB / 437.4 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.2436, allocations: 1.097 MB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.2453, allocations: 0.6053 MB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2467, allocations: 0.572 MB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.2477, allocations: 0.7505 MB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.2486, allocations: 0.5314 MB / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.2492, allocations: 334.7 kB / 441.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.2497, allocations: 382.3 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.2499, allocations: 64 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.2504, allocations: 247.8 kB / 442 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.2506, allocations: 163.4 kB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.251, allocations: 310.4 kB / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2526, allocations: 1.031 MB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2526, allocations: 0 / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2526, allocations: 0 / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.2526, allocations: 4 kB / 443.4 MB, free: 10.22 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.00409/0.2567, allocations: 1.324 MB / 444.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2567, allocations: 11.97 kB / 444.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.2569, allocations: 127.1 kB / 444.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005878/0.2628, allocations: 0.7848 MB / 445.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.2636, allocations: 354.6 kB / 446 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.2637, allocations: 66.31 kB / 446.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.2638, allocations: 83.92 kB / 446.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.2654, allocations: 0.8189 MB / 447 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.2654, allocations: 3.953 kB / 447 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.2655, allocations: 36 kB / 447 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.2656, allocations: 20 kB / 447.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.2673, allocations: 0.894 MB / 448 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.2719, allocations: 2.311 MB / 450.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.2738, allocations: 0.7555 MB / 451 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.2744, allocations: 295.1 kB / 451.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.2745, allocations: 28.62 kB / 451.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2745, allocations: 43.22 kB / 451.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 4.999e-06/0.2745, allocations: 7.984 kB / 451.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003753/0.2783, allocations: 1.251 MB / 452.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2784, allocations: 60.06 kB / 452.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.2787, allocations: 304.1 kB / 453 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.2788, allocations: 41.7 kB / 453 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.279, allocations: 288.7 kB / 453.3 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.2793, allocations: 269.9 kB / 453.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.2795, allocations: 122.6 kB / 453.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2796, allocations: 358.5 kB / 454.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.2801, allocations: 233.9 kB / 454.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.2807, allocations: 358.5 kB / 454.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2818, allocations: 0.6337 MB / 455.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2818, allocations: 0 / 455.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001931/0.2837, allocations: 0.8647 MB / 456.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2837, allocations: 7.938 kB / 456.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2837, allocations: 7.938 kB / 456.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/0.2845, allocations: 208.7 kB / 456.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.2851, allocations: 139.7 kB / 456.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.2887, allocations: 2.579 MB / 459.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.2892, allocations: 71.55 kB / 459.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.2892, allocations: 27.98 kB / 459.2 MB, free: 10.05 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.0003201/0.2895, allocations: 197.7 kB / 459.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2896, allocations: 47.7 kB / 459.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.2916, allocations: 0.8935 MB / 460.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.2917, allocations: 12 kB / 460.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2917, allocations: 4 kB / 460.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.2917, allocations: 3.984 kB / 460.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.2947, allocations: 1.562 MB / 461.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2947, allocations: 0 / 461.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.2952, allocations: 115.8 kB / 462 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007481/0.2959, allocations: 196.7 kB / 462.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.296, allocations: 23.98 kB / 462.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.2996, allocations: 2.562 MB / 464.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2996, allocations: 3.938 kB / 464.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.3021, allocations: 1.265 MB / 466 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3023, allocations: 59.55 kB / 466.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.3023, allocations: 11.94 kB / 466.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.3027, allocations: 36.05 kB / 466.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3028, allocations: 52.55 kB / 466.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.3028, allocations: 27.98 kB / 466.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.3031, allocations: 207.1 kB / 466.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3031, allocations: 0 / 466.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.3039, allocations: 231.6 kB / 466.6 MB, free: 2.348 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.00296/0.3069, allocations: 1.848 MB / 468.5 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.3086, allocations: 0.8046 MB / 469.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3086, allocations: 0 / 469.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.3095, allocations: 0.5144 MB / 469.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.31, allocations: 63.58 kB / 469.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008875/0.3189, allocations: 5.067 MB / 474.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.3193, allocations: 290.9 kB / 475.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.3196, allocations: 80.52 kB / 475.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.32, allocations: 223.3 kB / 475.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.32, allocations: 3.938 kB / 475.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.3731, allocations: 13.5 MB / 489 MB, free: 11.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.38, allocations: 7.859 kB / 489 MB, free: 11.91 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: 14.983045211993158]