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.001803/0.001803, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002201/0.002201, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.001999/0.001999, allocations: 71.88 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2259, allocations: 53.41 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006415/0.2323, allocations: 4.547 MB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.2354, allocations: 1.721 MB / 437.4 MB, free: 148 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.2356, allocations: 12 kB / 437.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.2383, allocations: 1.103 MB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.2398, allocations: 0.602 MB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.2411, allocations: 0.5837 MB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009995/0.2421, allocations: 0.766 MB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.243, allocations: 0.5119 MB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.2435, allocations: 350.6 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.2439, allocations: 374.3 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.244, allocations: 64 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.2446, allocations: 243.8 kB / 442 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2447, allocations: 163.4 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.2451, allocations: 314.5 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2463, allocations: 1.031 MB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2463, allocations: 0 / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2463, allocations: 0 / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.2463, allocations: 4 kB / 443.5 MB, free: 10.05 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.003851/0.2501, allocations: 1.312 MB / 444.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2502, allocations: 23.92 kB / 444.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.2503, allocations: 127.1 kB / 445 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.2564, allocations: 0.7848 MB / 445.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.2571, allocations: 358 kB / 446.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.2572, allocations: 58.31 kB / 446.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.2573, allocations: 83.94 kB / 446.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.2589, allocations: 0.8228 MB / 447.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.2589, allocations: 7.953 kB / 447.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.259, allocations: 31.94 kB / 447.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.259, allocations: 20 kB / 447.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.2607, allocations: 0.8979 MB / 448 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.265, allocations: 2.307 MB / 450.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.2668, allocations: 0.775 MB / 451.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.2674, allocations: 295.1 kB / 451.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/0.2675, allocations: 28.62 kB / 451.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2675, allocations: 39.22 kB / 451.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.695e-06/0.2675, allocations: 0 / 451.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003771/0.2713, allocations: 1.263 MB / 452.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2713, allocations: 56.06 kB / 452.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.2717, allocations: 304.1 kB / 453.1 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.2718, allocations: 33.7 kB / 453.1 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.272, allocations: 296.9 kB / 453.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.2722, allocations: 261.7 kB / 453.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.2724, allocations: 130.6 kB / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2726, allocations: 354.5 kB / 454.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.2731, allocations: 233.9 kB / 454.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.2737, allocations: 366.5 kB / 454.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2749, allocations: 0.6298 MB / 455.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2749, allocations: 0 / 455.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001877/0.2767, allocations: 0.8607 MB / 456.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2768, allocations: 8 kB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2768, allocations: 8.172 kB / 456.2 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.2776, allocations: 204.6 kB / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.2781, allocations: 143.7 kB / 456.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.2818, allocations: 2.572 MB / 459.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.2822, allocations: 67.45 kB / 459.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.2822, allocations: 31.98 kB / 459.2 MB, free: 9.871 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.0002993/0.2825, allocations: 197.7 kB / 459.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2826, allocations: 47.72 kB / 459.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.2847, allocations: 0.8896 MB / 460.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.2847, allocations: 11.98 kB / 460.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2847, allocations: 4 kB / 460.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2847, allocations: 3.984 kB / 460.4 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.2877, allocations: 1.57 MB / 461.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2877, allocations: 0 / 461.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.2882, allocations: 115.8 kB / 462.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007202/0.2889, allocations: 200.7 kB / 462.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.2889, allocations: 12 kB / 462.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.2925, allocations: 2.572 MB / 464.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2925, allocations: 3.938 kB / 464.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.295, allocations: 1.257 MB / 466.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2951, allocations: 59.55 kB / 466.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.2951, allocations: 15.94 kB / 466.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.2955, allocations: 31.92 kB / 466.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.2957, allocations: 60.53 kB / 466.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.2957, allocations: 23.94 kB / 466.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.2959, allocations: 207.1 kB / 466.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2959, allocations: 0 / 466.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007963/0.2967, allocations: 239.5 kB / 466.7 MB, free: 2.164 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.002897/0.2996, allocations: 1.844 MB / 468.6 MB, free: 296 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.3013, allocations: 0.8006 MB / 469.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3013, allocations: 0.8125 kB / 469.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.3022, allocations: 0.5137 MB / 469.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3027, allocations: 60.97 kB / 469.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.3107, allocations: 5.064 MB / 475 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.311, allocations: 290.9 kB / 475.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.3113, allocations: 76.53 kB / 475.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.3116, allocations: 235.3 kB / 475.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3116, allocations: 0 / 475.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.3587, allocations: 13.51 MB / 489.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.04, allocations: 3.984 kB / 489.1 MB, free: 11.68 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.696958987042308]