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.001718/0.001718, allocations: 112 kB / 20.43 MB, free: 1.457 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.001862/0.001862, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.512/1.512, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001541/0.001541, allocations: 47.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.304, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03355/0.3375, allocations: 28.75 MB / 451.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3553, allocations: 7.165 MB / 458.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005722/0.3611, allocations: 310.4 kB / 458.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03073/0.3918, allocations: 13.25 MB / 472.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.4039, allocations: 2.8 MB / 474.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007679/0.4116, allocations: 1.912 MB / 476.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02595/0.4375, allocations: 18.36 MB / 495.2 MB, free: 5.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06232/0.4999, allocations: 28.4 MB / 0.5113 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02205/0.5219, allocations: 10.15 MB / 0.5212 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/0.5446, allocations: 11.14 MB / 0.5321 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00916/0.5537, allocations: 2.918 MB / 0.535 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.486/1.04, allocations: 3.168 MB / 0.538 GB, free: 41.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008785/1.049, allocations: 5.488 MB / 0.5434 GB, free: 41.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02212/1.071, allocations: 10.82 MB / 0.554 GB, free: 40.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04324/1.114, allocations: 39.07 MB / 0.5921 GB, free: 19.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.114, allocations: 0.8125 kB / 0.5921 GB, free: 19.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.806e-06/1.114, allocations: 3.438 kB / 0.5921 GB, free: 19.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001509/1.115, allocations: 4.719 kB / 0.5921 GB, free: 19.61 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.06419/1.18, allocations: 22.23 MB / 0.6139 GB, free: 4.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.18, allocations: 8.031 kB / 0.6139 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01026/1.19, allocations: 2.961 MB / 0.6168 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04592/1.236, allocations: 8.415 MB / 0.625 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03247/1.268, allocations: 11.87 MB / 0.6366 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001876/1.27, allocations: 1.339 MB / 0.6379 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007732/1.278, allocations: 1.756 MB / 0.6396 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08152/1.359, allocations: 28.73 MB / 0.6676 GB, free: 13.58 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008973/1.36, allocations: 12.84 kB / 0.6676 GB, free: 13.57 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005933/1.366, allocations: 0.7294 MB / 0.6684 GB, free: 12.85 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001013/1.367, allocations: 0.8493 MB / 0.6692 GB, free: 12 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06239/1.43, allocations: 24.79 MB / 0.6934 GB, free: 3.191 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4277/1.857, allocations: 85.97 MB / 0.7774 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.878, allocations: 12.83 MB / 0.7899 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008172/1.886, allocations: 5.034 MB / 0.7948 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/1.887, allocations: 124.6 kB / 0.7949 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/1.887, allocations: 97.48 kB / 0.795 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.965e-06/1.887, allocations: 4 kB / 0.795 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03338/1.92, allocations: 14.65 MB / 0.8093 GB, free: 135.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/1.92, allocations: 140.6 kB / 0.8095 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.932, allocations: 6.427 MB / 0.8157 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.933, allocations: 117.1 kB / 0.8158 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005051/1.938, allocations: 7.901 MB / 0.8236 GB, free: 125.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002796/1.941, allocations: 2.107 MB / 0.8256 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004108/1.945, allocations: 2.107 MB / 0.8277 GB, free: 122.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/1.945, allocations: 301.1 kB / 0.828 GB, free: 122.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007475/1.953, allocations: 4.734 MB / 0.8326 GB, free: 119.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/1.963, allocations: 9.468 MB / 0.8418 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.979, allocations: 15.3 MB / 0.8568 GB, free: 93.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002084/1.98, allocations: 44 kB / 0.8568 GB, free: 93.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02771/2.007, allocations: 15.38 MB / 0.8718 GB, free: 77.99 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/2.007, allocations: 72 kB / 0.8719 GB, free: 77.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/2.008, allocations: 160 kB / 0.8721 GB, free: 77.77 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/2.013, allocations: 1.661 MB / 0.8737 GB, free: 76.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007889/2.021, allocations: 2.348 MB / 0.876 GB, free: 73.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/2.034, allocations: 11.52 MB / 0.8872 GB, free: 62.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008841/2.043, allocations: 1.378 MB / 0.8886 GB, free: 60.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/2.045, allocations: 0.5273 MB / 0.8891 GB, free: 60.21 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.01336/2.059, allocations: 7.145 MB / 0.8961 GB, free: 53.05 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/2.06, allocations: 0.652 MB / 0.8967 GB, free: 52.39 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/2.076, allocations: 10.07 MB / 0.9065 GB, free: 42.21 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01201/2.088, allocations: 7.73 MB / 0.9141 GB, free: 34.4 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/2.088, allocations: 15.94 kB / 0.9141 GB, free: 34.38 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/2.088, allocations: 27.89 kB / 0.9141 GB, free: 34.36 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04771/2.136, allocations: 25.3 MB / 0.9388 GB, free: 8.926 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/2.136, allocations: 8 kB / 0.9388 GB, free: 8.918 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004229/2.14, allocations: 1.018 MB / 0.9398 GB, free: 7.898 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005455/2.146, allocations: 1.461 MB / 0.9413 GB, free: 6.434 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001071/2.147, allocations: 124 kB / 0.9414 GB, free: 6.312 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/2.162, allocations: 11.06 MB / 0.9522 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.817e-05/2.162, allocations: 19.88 kB / 0.9522 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3131/2.475, allocations: 14.09 MB / 0.9659 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004858/2.48, allocations: 1.435 MB / 0.9673 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/2.482, allocations: 111.3 kB / 0.9675 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004758/2.487, allocations: 323.6 kB / 0.9678 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001219/2.488, allocations: 419.3 kB / 0.9682 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004116/2.489, allocations: 169.9 kB / 0.9683 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009097/2.498, allocations: 4.304 MB / 0.9725 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/2.498, allocations: 2.125 kB / 0.9725 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0149/2.513, allocations: 4.09 MB / 0.9765 GB, free: 175.2 MB / 0.5763 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.02519/2.538, allocations: 14.9 MB / 0.9911 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01762/2.555, allocations: 10.93 MB / 1.002 GB, free: 165 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/2.555, allocations: 0 / 1.002 GB, free: 165 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007229/2.563, allocations: 4.331 MB / 1.006 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008866/2.572, allocations: 1.569 MB / 1.008 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1598/2.731, allocations: 94.86 MB / 1.1 GB, free: 73.49 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0208/2.752, allocations: 11.26 MB / 1.111 GB, free: 62.18 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009581/2.762, allocations: 3.768 MB / 1.115 GB, free: 58.41 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009822/2.772, allocations: 5.916 MB / 1.121 GB, free: 52.49 MB / 0.5763 GB Notification: Performance of SimCode: time 1.864e-06/2.772, allocations: 4 kB / 1.121 GB, free: 52.49 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5675/3.339, allocations: 212.2 MB / 1.328 GB, free: 83.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.72/32.06, allocations: 9.594 kB / 1.328 GB, free: 83.75 MB / 0.5919 GB " [Timeout remaining time 628] (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: 34.80214340400198]