Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 184.7 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 55.84 kB / 370.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2272, allocations: 52.17 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03005/0.2573, allocations: 24.5 MB / 447.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.2723, allocations: 6.977 MB / 454.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004743/0.277, allocations: 314.4 kB / 454.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02955/0.3066, allocations: 12.19 MB / 466.5 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.3167, allocations: 2.761 MB / 469.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005821/0.3225, allocations: 1.851 MB / 471.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02304/0.3455, allocations: 18.35 MB / 489.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05276/0.3983, allocations: 28.12 MB / 0.5055 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/0.4149, allocations: 10.16 MB / 0.5154 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0185/0.4334, allocations: 10.83 MB / 0.526 GB, free: 9.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00707/0.4405, allocations: 2.918 MB / 0.5288 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008959/0.4495, allocations: 3.16 MB / 0.5319 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3715/0.821, allocations: 5.489 MB / 0.5373 GB, free: 44.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01555/0.8366, allocations: 8.374 MB / 0.5455 GB, free: 43.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03369/0.8703, allocations: 39.25 MB / 0.5838 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8703, allocations: 3.719 kB / 0.5838 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.8703, allocations: 0 / 0.5838 GB, free: 27.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009689/0.8712, allocations: 0 / 0.5838 GB, free: 27.27 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.05835/0.9296, allocations: 22.23 MB / 0.6055 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.9296, allocations: 14.38 kB / 0.6055 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00896/0.9386, allocations: 2.958 MB / 0.6084 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04238/0.981, allocations: 8.417 MB / 0.6166 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/1.007, allocations: 11.86 MB / 0.6282 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001801/1.009, allocations: 1.344 MB / 0.6295 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006631/1.015, allocations: 1.759 MB / 0.6312 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07186/1.087, allocations: 28.97 MB / 0.6595 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006482/1.088, allocations: 19.61 kB / 0.6596 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004647/1.092, allocations: 0.73 MB / 0.6603 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009407/1.093, allocations: 0.8454 MB / 0.6611 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05328/1.147, allocations: 24.72 MB / 0.6852 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4236/1.57, allocations: 78.83 MB / 0.7622 GB, free: 117.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03171/1.602, allocations: 12.74 MB / 0.7747 GB, free: 116.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/1.613, allocations: 5.022 MB / 0.7796 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/1.613, allocations: 108.8 kB / 0.7797 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.771e-05/1.614, allocations: 97.83 kB / 0.7798 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.788e-06/1.614, allocations: 0 / 0.7798 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03144/1.645, allocations: 14.65 MB / 0.7941 GB, free: 116 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/1.645, allocations: 147.6 kB / 0.7942 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009998/1.655, allocations: 6.7 MB / 0.8008 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007196/1.656, allocations: 122.1 kB / 0.8009 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003387/1.659, allocations: 7.9 MB / 0.8086 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.661, allocations: 2.11 MB / 0.8106 GB, free: 108.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0035/1.664, allocations: 2.095 MB / 0.8127 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.413e-05/1.664, allocations: 304.3 kB / 0.813 GB, free: 107.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00582/1.67, allocations: 4.738 MB / 0.8176 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007443/1.678, allocations: 9.491 MB / 0.8269 GB, free: 98.46 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/1.691, allocations: 15.3 MB / 0.8418 GB, free: 83.17 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001401/1.692, allocations: 48 kB / 0.8419 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02032/1.712, allocations: 15.38 MB / 0.8569 GB, free: 68.65 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.712, allocations: 72 kB / 0.857 GB, free: 68.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002233/1.712, allocations: 160 kB / 0.8571 GB, free: 68.42 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00494/1.717, allocations: 1.657 MB / 0.8587 GB, free: 66.76 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00758/1.725, allocations: 2.347 MB / 0.861 GB, free: 64.59 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.738, allocations: 11.3 MB / 0.872 GB, free: 53.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007616/1.746, allocations: 1.374 MB / 0.8734 GB, free: 51.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.747, allocations: 0.535 MB / 0.8739 GB, free: 51.36 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.01024/1.757, allocations: 7.146 MB / 0.8809 GB, free: 44.38 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.759, allocations: 0.6481 MB / 0.8815 GB, free: 43.73 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.773, allocations: 10.06 MB / 0.8913 GB, free: 33.6 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009434/1.782, allocations: 7.735 MB / 0.8989 GB, free: 25.82 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/1.782, allocations: 16 kB / 0.8989 GB, free: 25.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.765e-05/1.782, allocations: 27.89 kB / 0.8989 GB, free: 25.78 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0443/1.826, allocations: 24.42 MB / 0.9228 GB, free: 1.395 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/1.826, allocations: 12.12 kB / 0.9228 GB, free: 1.383 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004197/1.831, allocations: 1.011 MB / 0.9238 GB, free: 436 kB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/1.836, allocations: 1.461 MB / 0.9252 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/1.837, allocations: 126 kB / 0.9253 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/1.854, allocations: 10.84 MB / 0.9359 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/1.854, allocations: 11.66 kB / 0.9359 GB, free: 3.906 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/1.878, allocations: 14.1 MB / 0.9497 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004394/1.882, allocations: 1.435 MB / 0.9511 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.883, allocations: 112 kB / 0.9512 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.887, allocations: 323.7 kB / 0.9515 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.888, allocations: 418.7 kB / 0.9519 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004347/1.889, allocations: 166 kB / 0.9521 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00893/1.898, allocations: 4.311 MB / 0.9563 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/1.898, allocations: 2.734 kB / 0.9563 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01364/1.911, allocations: 4.095 MB / 0.9603 GB, free: 10.69 MB / 0.6075 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.2326/2.144, allocations: 14.88 MB / 0.9748 GB, free: 210.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0154/2.159, allocations: 10.92 MB / 0.9855 GB, free: 209.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.159, allocations: 7.906 kB / 0.9855 GB, free: 209.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00574/2.165, allocations: 4.331 MB / 0.9897 GB, free: 209.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006808/2.172, allocations: 1.566 MB / 0.9913 GB, free: 208.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.121/2.293, allocations: 94.86 MB / 1.084 GB, free: 130.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0149/2.308, allocations: 10.94 MB / 1.095 GB, free: 119.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008007/2.316, allocations: 3.77 MB / 1.098 GB, free: 115.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007893/2.323, allocations: 5.92 MB / 1.104 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.202e-06/2.323, allocations: 0 / 1.104 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/2.801, allocations: 210.2 MB / 1.309 GB, free: 156.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.88/25.68, allocations: 11.11 kB / 1.309 GB, free: 156.5 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.388924015220255]