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.001819/0.001819, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002135/0.002135, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.773 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.001573/0.001573, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.217, allocations: 53.37 MB / 431.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006467/0.2234, allocations: 4.555 MB / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.2267, allocations: 1.718 MB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.2269, allocations: 12 kB / 437.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.2296, allocations: 1.097 MB / 438.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.231, allocations: 0.6169 MB / 439.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.2324, allocations: 0.572 MB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.2333, allocations: 0.7505 MB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.2341, allocations: 0.5392 MB / 441 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.2345, allocations: 338.7 kB / 441.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.235, allocations: 422.3 kB / 441.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.709e-05/0.2351, allocations: 68 kB / 441.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.2356, allocations: 251.8 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2358, allocations: 171.3 kB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.2361, allocations: 306.6 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2373, allocations: 1.031 MB / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2373, allocations: 0 / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2373, allocations: 0 / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2373, allocations: 4 kB / 443.5 MB, free: 10.44 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.003844/0.2411, allocations: 1.324 MB / 444.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2412, allocations: 12.03 kB / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.2413, allocations: 131 kB / 445 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/0.2475, allocations: 0.7848 MB / 445.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.2482, allocations: 358.6 kB / 446.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.2483, allocations: 54.38 kB / 446.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.2484, allocations: 83.94 kB / 446.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2499, allocations: 0.8189 MB / 447.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.2499, allocations: 11.95 kB / 447.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.25, allocations: 28 kB / 447.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.25, allocations: 20 kB / 447.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.2517, allocations: 0.8979 MB / 448 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.2559, allocations: 2.311 MB / 450.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.2578, allocations: 0.7594 MB / 451.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.2583, allocations: 295.1 kB / 451.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.2584, allocations: 28.62 kB / 451.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2585, allocations: 39.22 kB / 451.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.284e-06/0.2585, allocations: 0 / 451.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003722/0.2622, allocations: 1.263 MB / 452.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2622, allocations: 60.06 kB / 452.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.2626, allocations: 300.1 kB / 453.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.2626, allocations: 33.7 kB / 453.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.2628, allocations: 300.7 kB / 453.4 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.263, allocations: 257.7 kB / 453.6 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.2633, allocations: 134.6 kB / 453.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2635, allocations: 358.7 kB / 454.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.2639, allocations: 233.9 kB / 454.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.2645, allocations: 362.5 kB / 454.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2657, allocations: 0.6298 MB / 455.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2657, allocations: 3.938 kB / 455.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001877/0.2676, allocations: 0.8609 MB / 456.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2676, allocations: 8 kB / 456.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2676, allocations: 8 kB / 456.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/0.2684, allocations: 204.6 kB / 456.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.2689, allocations: 135.8 kB / 456.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.2725, allocations: 2.572 MB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.2729, allocations: 79.42 kB / 459.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.273, allocations: 31.98 kB / 459.2 MB, free: 10.27 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.0002667/0.2733, allocations: 193.7 kB / 459.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2734, allocations: 51.66 kB / 459.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.2754, allocations: 0.8858 MB / 460.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2754, allocations: 11.94 kB / 460.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2754, allocations: 4 kB / 460.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2754, allocations: 3.984 kB / 460.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.2782, allocations: 1.566 MB / 461.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2782, allocations: 0 / 461.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.2787, allocations: 115.8 kB / 462.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/0.2794, allocations: 200.7 kB / 462.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.2795, allocations: 12 kB / 462.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/0.2829, allocations: 2.582 MB / 464.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2829, allocations: 0 / 464.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.2853, allocations: 1.261 MB / 466.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.2854, allocations: 59.55 kB / 466.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.2855, allocations: 12 kB / 466.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.2858, allocations: 31.92 kB / 466.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.286, allocations: 56.55 kB / 466.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.286, allocations: 24.05 kB / 466.3 MB, free: 3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.2863, allocations: 211.1 kB / 466.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2863, allocations: 0 / 466.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007659/0.287, allocations: 235.6 kB / 466.7 MB, free: 2.562 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.002929/0.2899, allocations: 1.844 MB / 468.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.2916, allocations: 0.8051 MB / 469.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.2916, allocations: 4 kB / 469.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.2925, allocations: 0.5098 MB / 469.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.293, allocations: 57.41 kB / 469.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/0.3011, allocations: 5.086 MB / 475 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3014, allocations: 290.9 kB / 475.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.3017, allocations: 76.53 kB / 475.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.302, allocations: 227.3 kB / 475.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.302, allocations: 4 kB / 475.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.35, allocations: 13.71 MB / 489.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.03, allocations: 4.062 kB / 489.3 MB, free: 11.91 MB / 398.1 MB " [Timeout remaining time 648] (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.723982110997895]