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.001661/0.001661, allocations: 119.3 kB / 17.74 MB, free: 5.32 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.00186/0.00186, allocations: 186.9 kB / 20.68 MB, free: 2.391 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.46/1.46, allocations: 222.9 MB / 246.4 MB, free: 4.188 MB / 190.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.001519/0.00152, allocations: 51.92 kB / 357.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 49.43 MB / 406.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2418/0.3439, allocations: 28.61 MB / 435.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.361, allocations: 7.126 MB / 442.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007815/0.3689, allocations: 265.4 kB / 442.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02529/0.3942, allocations: 13.09 MB / 456 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.4053, allocations: 2.689 MB / 458.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006891/0.4122, allocations: 1.842 MB / 460.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02861/0.4408, allocations: 18.11 MB / 478.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09649/0.5373, allocations: 44.45 MB / 0.5109 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02164/0.559, allocations: 9.937 MB / 0.5206 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02034/0.5794, allocations: 11.05 MB / 0.5313 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009239/0.5887, allocations: 2.918 MB / 0.5342 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.6002, allocations: 3.172 MB / 0.5373 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01048/0.6108, allocations: 5.48 MB / 0.5426 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02414/0.6349, allocations: 10.82 MB / 0.5532 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05641/0.6914, allocations: 39.08 MB / 0.5914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.6914, allocations: 0 / 0.5914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6914, allocations: 0 / 0.5914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009914/0.6924, allocations: 0 / 0.5914 GB, free: 4.688 MB / 494.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.4854/1.178, allocations: 22.3 MB / 0.6132 GB, free: 131.3 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.178, allocations: 11.56 kB / 0.6132 GB, free: 131.3 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0151/1.193, allocations: 2.961 MB / 0.6161 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06941/1.262, allocations: 8.411 MB / 0.6243 GB, free: 130.2 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/1.287, allocations: 11.65 MB / 0.6356 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001556/1.289, allocations: 1.341 MB / 0.637 GB, free: 125.9 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008409/1.297, allocations: 1.766 MB / 0.6387 GB, free: 125.3 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06645/1.364, allocations: 28.73 MB / 0.6667 GB, free: 102.9 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007836/1.365, allocations: 19.91 kB / 0.6668 GB, free: 102.9 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00589/1.371, allocations: 0.7259 MB / 0.6675 GB, free: 102.2 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007164/1.371, allocations: 0.8415 MB / 0.6683 GB, free: 101.3 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04518/1.417, allocations: 24.79 MB / 0.6925 GB, free: 76.53 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.145/1.562, allocations: 87.12 MB / 0.7776 GB, free: 4.73 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03857/1.6, allocations: 35.12 MB / 0.8119 GB, free: 14.32 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/1.611, allocations: 5.434 MB / 0.8172 GB, free: 8.871 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/1.612, allocations: 201.5 kB / 0.8174 GB, free: 8.652 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/1.612, allocations: 99 kB / 0.8175 GB, free: 8.543 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.365e-05/1.612, allocations: 0 / 0.8175 GB, free: 8.543 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.5002/2.112, allocations: 14.75 MB / 0.8319 GB, free: 176.6 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/2.112, allocations: 142.4 kB / 0.832 GB, free: 176.5 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01586/2.128, allocations: 6.428 MB / 0.8383 GB, free: 176.1 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/2.13, allocations: 114.9 kB / 0.8384 GB, free: 176.1 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005974/2.136, allocations: 7.908 MB / 0.8461 GB, free: 172.7 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.002894/2.139, allocations: 2.107 MB / 0.8482 GB, free: 171.2 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006822/2.145, allocations: 2.099 MB / 0.8502 GB, free: 170.2 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/2.146, allocations: 309 kB / 0.8505 GB, free: 169.9 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007608/2.153, allocations: 4.744 MB / 0.8552 GB, free: 168.2 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00985/2.163, allocations: 9.463 MB / 0.8644 GB, free: 160.2 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/2.18, allocations: 15.3 MB / 0.8793 GB, free: 149.1 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001902/2.18, allocations: 46.94 kB / 0.8794 GB, free: 149.1 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03612/2.217, allocations: 15.41 MB / 0.8944 GB, free: 142.9 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/2.217, allocations: 71.56 kB / 0.8945 GB, free: 142.9 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004187/2.217, allocations: 159.9 kB / 0.8947 GB, free: 142.9 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005905/2.223, allocations: 1.657 MB / 0.8963 GB, free: 142.6 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008057/2.231, allocations: 2.354 MB / 0.8986 GB, free: 142.3 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/2.245, allocations: 11.62 MB / 0.9099 GB, free: 133.1 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009255/2.255, allocations: 1.376 MB / 0.9113 GB, free: 131.8 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002372/2.257, allocations: 0.5271 MB / 0.9118 GB, free: 131.2 MB / 0.5608 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.0129/2.27, allocations: 7.145 MB / 0.9188 GB, free: 124.3 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002047/2.272, allocations: 0.6481 MB / 0.9194 GB, free: 123.7 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/2.289, allocations: 10.1 MB / 0.9293 GB, free: 113.5 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01204/2.301, allocations: 7.765 MB / 0.9368 GB, free: 105.6 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/2.301, allocations: 12 kB / 0.9368 GB, free: 105.6 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/2.302, allocations: 31.89 kB / 0.9369 GB, free: 105.6 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04471/2.346, allocations: 25.47 MB / 0.9617 GB, free: 79.94 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/2.346, allocations: 8 kB / 0.9618 GB, free: 79.93 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004304/2.351, allocations: 1.01 MB / 0.9627 GB, free: 78.92 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/2.356, allocations: 1.457 MB / 0.9642 GB, free: 77.46 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001024/2.357, allocations: 128 kB / 0.9643 GB, free: 77.34 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/2.369, allocations: 11.15 MB / 0.9752 GB, free: 66.06 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/2.369, allocations: 11.94 kB / 0.9752 GB, free: 66.05 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/2.389, allocations: 14.14 MB / 0.989 GB, free: 51.56 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003344/2.392, allocations: 1.464 MB / 0.9904 GB, free: 50.07 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/2.394, allocations: 112 kB / 0.9905 GB, free: 49.96 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/2.398, allocations: 323.7 kB / 0.9908 GB, free: 49.64 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009627/2.399, allocations: 400.4 kB / 0.9912 GB, free: 49.25 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005001/2.399, allocations: 168.6 kB / 0.9914 GB, free: 49.09 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.006458/2.406, allocations: 4.309 MB / 0.9956 GB, free: 44.81 MB / 0.5608 GB Notification: Performance of sort global known variables: time 2.1e-07/2.406, allocations: 0 / 0.9956 GB, free: 44.81 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.01023/2.416, allocations: 4.087 MB / 0.9996 GB, free: 40.71 MB / 0.5608 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.01747/2.433, allocations: 14.94 MB / 1.014 GB, free: 25.42 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.01587/2.449, allocations: 11.37 MB / 1.025 GB, free: 14.02 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/2.449, allocations: 4.438 kB / 1.025 GB, free: 14.01 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.006733/2.456, allocations: 4.653 MB / 1.03 GB, free: 9.34 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/2.466, allocations: 1.552 MB / 1.031 GB, free: 7.84 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4166/2.883, allocations: 94.62 MB / 1.124 GB, free: 117.5 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01864/2.902, allocations: 11.26 MB / 1.135 GB, free: 106.2 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.01033/2.912, allocations: 3.766 MB / 1.138 GB, free: 102.4 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009797/2.922, allocations: 5.92 MB / 1.144 GB, free: 96.52 MB / 0.5608 GB Notification: Performance of SimCode: time 1.002e-06/2.922, allocations: 4 kB / 1.144 GB, free: 96.51 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5085/3.43, allocations: 206.5 MB / 1.346 GB, free: 109.4 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.41/29.84, allocations: 4 kB / 1.346 GB, free: 109.4 MB / 0.5764 GB " [Timeout remaining time 630] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 32.48978583794087]