Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001354/0.001354, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001502/0.001502, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03432/0.3408, allocations: 28.76 MB / 460 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3581, allocations: 7.225 MB / 467.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007329/0.3654, allocations: 314.4 kB / 467.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03078/0.3962, allocations: 13.26 MB / 480.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.409, allocations: 2.64 MB / 483.4 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008393/0.4174, allocations: 2.099 MB / 485.5 MB, free: 216 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02804/0.4454, allocations: 18.53 MB / 0.4922 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05766/0.5031, allocations: 28.4 MB / 0.5199 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01937/0.5224, allocations: 10.15 MB / 0.5298 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4894/1.012, allocations: 11.15 MB / 0.5407 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01011/1.022, allocations: 2.922 MB / 0.5436 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/1.033, allocations: 3.196 MB / 0.5467 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01039/1.044, allocations: 5.492 MB / 0.5521 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0205/1.064, allocations: 10.82 MB / 0.5626 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03989/1.104, allocations: 39.1 MB / 0.6008 GB, free: 5.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.104, allocations: 0 / 0.6008 GB, free: 5.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/1.104, allocations: 0 / 0.6008 GB, free: 5.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001399/1.105, allocations: 0 / 0.6008 GB, free: 5.227 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.07203/1.178, allocations: 22.24 MB / 0.6225 GB, free: 1.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.178, allocations: 12.03 kB / 0.6225 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01133/1.189, allocations: 2.964 MB / 0.6254 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04859/1.237, allocations: 8.241 MB / 0.6335 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03039/1.268, allocations: 11.89 MB / 0.6451 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002027/1.27, allocations: 1.338 MB / 0.6464 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008158/1.278, allocations: 1.753 MB / 0.6481 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07967/1.358, allocations: 28.78 MB / 0.6762 GB, free: 11.33 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007795/1.358, allocations: 23.89 kB / 0.6763 GB, free: 11.31 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006422/1.365, allocations: 0.7267 MB / 0.677 GB, free: 10.59 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/1.366, allocations: 0.8454 MB / 0.6778 GB, free: 9.746 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05875/1.425, allocations: 24.84 MB / 0.702 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4655/1.89, allocations: 86 MB / 0.786 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.91, allocations: 12.87 MB / 0.7986 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007081/1.917, allocations: 5.038 MB / 0.8035 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/1.917, allocations: 171.8 kB / 0.8037 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/1.917, allocations: 94.7 kB / 0.8038 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.757e-06/1.917, allocations: 0 / 0.8038 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03252/1.95, allocations: 14.7 MB / 0.8181 GB, free: 106.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/1.95, allocations: 134.4 kB / 0.8183 GB, free: 106.8 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009214/1.959, allocations: 6.435 MB / 0.8245 GB, free: 105 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000924/1.96, allocations: 119.2 kB / 0.8247 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004353/1.964, allocations: 7.903 MB / 0.8324 GB, free: 98.07 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002557/1.967, allocations: 2.109 MB / 0.8344 GB, free: 96.26 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003131/1.97, allocations: 2.111 MB / 0.8365 GB, free: 95.05 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/1.97, allocations: 305.1 kB / 0.8368 GB, free: 94.76 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005974/1.976, allocations: 4.743 MB / 0.8414 GB, free: 92.23 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009942/1.986, allocations: 9.481 MB / 0.8507 GB, free: 83.29 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01695/2.003, allocations: 15.33 MB / 0.8656 GB, free: 68.21 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/2.003, allocations: 48 kB / 0.8657 GB, free: 68.16 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02485/2.028, allocations: 15.41 MB / 0.8807 GB, free: 53.66 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/2.028, allocations: 75.98 kB / 0.8808 GB, free: 53.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/2.028, allocations: 164.3 kB / 0.881 GB, free: 53.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005072/2.033, allocations: 1.657 MB / 0.8826 GB, free: 51.77 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00782/2.041, allocations: 2.362 MB / 0.8849 GB, free: 49.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/2.054, allocations: 11.52 MB / 0.8961 GB, free: 38.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/2.063, allocations: 1.378 MB / 0.8975 GB, free: 36.67 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/2.065, allocations: 0.5389 MB / 0.898 GB, free: 36.13 MB / 0.5763 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.01262/2.077, allocations: 7.135 MB / 0.905 GB, free: 29.16 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/2.079, allocations: 0.6442 MB / 0.9056 GB, free: 28.51 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/2.093, allocations: 10.08 MB / 0.9154 GB, free: 18.37 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009899/2.103, allocations: 7.77 MB / 0.923 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/2.103, allocations: 16 kB / 0.923 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.907e-05/2.103, allocations: 27.89 kB / 0.9231 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05135/2.154, allocations: 25.36 MB / 0.9478 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/2.154, allocations: 11.94 kB / 0.9478 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00518/2.159, allocations: 1.011 MB / 0.9488 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006183/2.166, allocations: 1.47 MB / 0.9503 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001649/2.167, allocations: 132 kB / 0.9504 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/2.184, allocations: 11.07 MB / 0.9612 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/2.184, allocations: 15.66 kB / 0.9612 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0235/2.208, allocations: 14.14 MB / 0.975 GB, free: 5.016 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004812/2.212, allocations: 1.443 MB / 0.9764 GB, free: 3.566 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/2.214, allocations: 112 kB / 0.9765 GB, free: 3.457 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/2.217, allocations: 315.7 kB / 0.9769 GB, free: 3.148 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009008/2.218, allocations: 431.7 kB / 0.9773 GB, free: 2.73 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004023/2.219, allocations: 176 kB / 0.9774 GB, free: 2.559 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.2911/2.51, allocations: 4.298 MB / 0.9816 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of sort global known variables: time 4.91e-07/2.51, allocations: 1.344 kB / 0.9816 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01345/2.523, allocations: 4.09 MB / 0.9856 GB, free: 217.1 MB / 0.6232 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.02079/2.544, allocations: 14.93 MB / 1 GB, free: 212.7 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01731/2.561, allocations: 10.95 MB / 1.011 GB, free: 208.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/2.561, allocations: 3.938 kB / 1.011 GB, free: 208.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007132/2.569, allocations: 4.345 MB / 1.015 GB, free: 206.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008227/2.577, allocations: 1.566 MB / 1.017 GB, free: 206.3 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.146/2.723, allocations: 94.78 MB / 1.109 GB, free: 123 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01756/2.74, allocations: 11.26 MB / 1.12 GB, free: 111.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008254/2.749, allocations: 3.77 MB / 1.124 GB, free: 107.9 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00781/2.756, allocations: 5.947 MB / 1.13 GB, free: 102 MB / 0.6232 GB Notification: Performance of SimCode: time 1.312e-06/2.756, allocations: 0 / 1.13 GB, free: 102 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5377/3.294, allocations: 212.7 MB / 1.337 GB, free: 151.4 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.2/32.5, allocations: 0 / 1.337 GB, free: 151.4 MB / 0.6232 GB " [Timeout remaining time 627] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 35.1809476510025]