Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001294/0.001294, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001414/0.001414, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.86 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2252, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03039/0.2556, allocations: 24.5 MB / 455.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.2703, allocations: 7.02 MB / 462.6 MB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004771/0.2751, allocations: 314.4 kB / 462.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03061/0.3057, allocations: 12.21 MB / 475.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.3165, allocations: 2.644 MB / 477.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006594/0.3231, allocations: 2.035 MB / 479.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02497/0.3481, allocations: 18.53 MB / 498.3 MB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05617/0.4042, allocations: 28.4 MB / 0.5144 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/0.4203, allocations: 10.15 MB / 0.5243 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01786/0.4381, allocations: 11.14 MB / 0.5352 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.383/0.8211, allocations: 2.92 MB / 0.538 GB, free: 39.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008319/0.8294, allocations: 3.2 MB / 0.5412 GB, free: 39.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006672/0.8361, allocations: 5.485 MB / 0.5465 GB, free: 39.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01368/0.8498, allocations: 8.37 MB / 0.5547 GB, free: 38.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03026/0.8801, allocations: 39.27 MB / 0.593 GB, free: 19.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8801, allocations: 0 / 0.593 GB, free: 19.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8801, allocations: 0.8125 kB / 0.593 GB, free: 19.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009098/0.881, allocations: 0 / 0.593 GB, free: 19.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.0576/0.9386, allocations: 22.25 MB / 0.6148 GB, free: 2.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9386, allocations: 8.031 kB / 0.6148 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008899/0.9475, allocations: 2.961 MB / 0.6177 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04696/0.9945, allocations: 8.24 MB / 0.6257 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02875/1.023, allocations: 11.89 MB / 0.6373 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001472/1.025, allocations: 1.339 MB / 0.6386 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006697/1.031, allocations: 1.762 MB / 0.6404 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07181/1.103, allocations: 29.03 MB / 0.6687 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005552/1.104, allocations: 19.91 kB / 0.6687 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004534/1.108, allocations: 0.7272 MB / 0.6694 GB, free: 10.85 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009111/1.109, allocations: 0.8415 MB / 0.6703 GB, free: 10.01 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05456/1.164, allocations: 24.77 MB / 0.6944 GB, free: 1.219 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3588/1.523, allocations: 78.86 MB / 0.7715 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/1.541, allocations: 12.79 MB / 0.784 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007323/1.549, allocations: 5.032 MB / 0.7889 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/1.549, allocations: 148.1 kB / 0.789 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/1.549, allocations: 98.27 kB / 0.7891 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.778e-06/1.549, allocations: 0 / 0.7891 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03/1.579, allocations: 14.69 MB / 0.8034 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.579, allocations: 134.7 kB / 0.8036 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008405/1.588, allocations: 6.698 MB / 0.8101 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008672/1.588, allocations: 121.5 kB / 0.8102 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/1.592, allocations: 7.907 MB / 0.818 GB, free: 126.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.593, allocations: 2.101 MB / 0.82 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/1.596, allocations: 2.123 MB / 0.8221 GB, free: 123.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/1.596, allocations: 305.1 kB / 0.8224 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005576/1.602, allocations: 4.749 MB / 0.827 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/1.609, allocations: 9.5 MB / 0.8363 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/1.623, allocations: 15.33 MB / 0.8513 GB, free: 91.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/1.623, allocations: 48 kB / 0.8513 GB, free: 91.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02344/1.647, allocations: 15.41 MB / 0.8663 GB, free: 76.06 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.647, allocations: 72 kB / 0.8664 GB, free: 75.99 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.647, allocations: 160 kB / 0.8666 GB, free: 75.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004776/1.652, allocations: 1.657 MB / 0.8682 GB, free: 74.18 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007837/1.66, allocations: 2.359 MB / 0.8705 GB, free: 71.81 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.672, allocations: 11.3 MB / 0.8815 GB, free: 60.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007138/1.679, allocations: 1.374 MB / 0.8829 GB, free: 59.03 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/1.681, allocations: 0.5389 MB / 0.8834 GB, free: 58.49 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01018/1.691, allocations: 7.141 MB / 0.8904 GB, free: 51.33 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.692, allocations: 0.6442 MB / 0.891 GB, free: 50.68 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.705, allocations: 10.07 MB / 0.9008 GB, free: 40.5 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009719/1.715, allocations: 7.769 MB / 0.9084 GB, free: 32.64 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/1.715, allocations: 12 kB / 0.9084 GB, free: 32.63 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-05/1.715, allocations: 31.89 kB / 0.9085 GB, free: 32.6 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03939/1.755, allocations: 24.48 MB / 0.9324 GB, free: 7.988 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.755, allocations: 8.875 kB / 0.9324 GB, free: 7.98 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/1.758, allocations: 1.011 MB / 0.9334 GB, free: 6.969 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/1.763, allocations: 1.465 MB / 0.9348 GB, free: 5.496 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004216/1.763, allocations: 132 kB / 0.9349 GB, free: 5.367 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.777, allocations: 10.85 MB / 0.9455 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/1.777, allocations: 8 kB / 0.9455 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02457/1.802, allocations: 14.15 MB / 0.9593 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00471/1.807, allocations: 1.443 MB / 0.9608 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/1.808, allocations: 112 kB / 0.9609 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/1.812, allocations: 307.6 kB / 0.9612 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008917/1.813, allocations: 436.1 kB / 0.9616 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/1.813, allocations: 172 kB / 0.9617 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007772/1.821, allocations: 4.313 MB / 0.9659 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.821, allocations: 0 / 0.9659 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01264/1.833, allocations: 4.091 MB / 0.9699 GB, free: 1.062 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.233/2.066, allocations: 14.93 MB / 0.9845 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01513/2.082, allocations: 10.96 MB / 0.9952 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/2.082, allocations: 3.906 kB / 0.9952 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005705/2.087, allocations: 4.342 MB / 0.9995 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00687/2.094, allocations: 1.558 MB / 1.001 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1231/2.217, allocations: 94.76 MB / 1.094 GB, free: 97.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01773/2.235, allocations: 10.94 MB / 1.104 GB, free: 86.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008075/2.243, allocations: 3.77 MB / 1.108 GB, free: 82.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008081/2.251, allocations: 5.947 MB / 1.114 GB, free: 76.29 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/2.251, allocations: 0 / 1.114 GB, free: 76.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4639/2.715, allocations: 211.4 MB / 1.32 GB, free: 130 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.91/25.62, allocations: 21.53 kB / 1.32 GB, free: 130 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable source.plug_p.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.206003314990085]