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.001137/0.001137, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009/0.0009, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8743/0.8743, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793e-06/1.793e-06, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.882e-05, allocations: 12.89 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01683/0.01686, allocations: 24.54 MB / 349.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.02919, allocations: 7.035 MB / 356.2 MB, free: 84 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005002/0.03419, allocations: 314.4 kB / 356.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01468/0.04887, allocations: 12.92 MB / 369.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.05726, allocations: 2.671 MB / 372.1 MB, free: 136 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.06181, allocations: 2.046 MB / 374.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0154/0.07721, allocations: 19.1 MB / 393.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03948/0.1167, allocations: 28.17 MB / 421.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02107/0.1378, allocations: 15.1 MB / 436.5 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.1513, allocations: 9.758 MB / 446.2 MB, free: 5.641 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00613/0.1574, allocations: 2.918 MB / 449.2 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2941/0.4516, allocations: 3.195 MB / 452.4 MB, free: 52.25 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006491/0.458, allocations: 5.581 MB / 457.9 MB, free: 52.25 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01315/0.4712, allocations: 7.236 MB / 465.2 MB, free: 52.25 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03065/0.5018, allocations: 39.53 MB / 0.4929 GB, free: 34.53 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5018, allocations: 2.156 kB / 0.4929 GB, free: 34.53 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5018, allocations: 0 / 0.4929 GB, free: 34.53 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001191/0.503, allocations: 2.156 kB / 0.4929 GB, free: 34.53 MB / 410.8 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.04755/0.5506, allocations: 22.07 MB / 0.5144 GB, free: 20.13 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.5506, allocations: 14.88 kB / 0.5144 GB, free: 20.12 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01022/0.5609, allocations: 2.959 MB / 0.5173 GB, free: 17.16 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02344/0.5843, allocations: 8.242 MB / 0.5254 GB, free: 8.984 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/0.603, allocations: 11.89 MB / 0.537 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/0.6042, allocations: 1.346 MB / 0.5383 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00687/0.6111, allocations: 1.753 MB / 0.54 GB, free: 10.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05643/0.6675, allocations: 29.02 MB / 0.5684 GB, free: 13.38 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000432/0.6679, allocations: 23.55 kB / 0.5684 GB, free: 13.36 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004221/0.6722, allocations: 0.7301 MB / 0.5691 GB, free: 12.64 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00057/0.6727, allocations: 0.8454 MB / 0.5699 GB, free: 11.8 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03998/0.7127, allocations: 24.76 MB / 0.5941 GB, free: 3.016 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2733/0.986, allocations: 78.92 MB / 0.6712 GB, free: 125.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.9982, allocations: 12.78 MB / 0.6836 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00486/1.003, allocations: 5.035 MB / 0.6886 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/1.003, allocations: 143.3 kB / 0.6887 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/1.003, allocations: 93.23 kB / 0.6888 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 7.343e-06/1.003, allocations: 0 / 0.6888 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.01901/1.022, allocations: 14.7 MB / 0.7031 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.022, allocations: 137.6 kB / 0.7033 GB, free: 110.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/1.029, allocations: 6.708 MB / 0.7098 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000691/1.03, allocations: 117.7 kB / 0.7099 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.032, allocations: 7.869 MB / 0.7176 GB, free: 96.29 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.033, allocations: 2.083 MB / 0.7197 GB, free: 94.24 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/1.035, allocations: 2.092 MB / 0.7217 GB, free: 92.14 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.603e-05/1.035, allocations: 305.1 kB / 0.722 GB, free: 91.84 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/1.04, allocations: 4.74 MB / 0.7266 GB, free: 87.09 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005739/1.045, allocations: 9.501 MB / 0.7359 GB, free: 75.34 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.056, allocations: 15.33 MB / 0.7509 GB, free: 57.69 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/1.056, allocations: 44 kB / 0.7509 GB, free: 57.65 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0154/1.071, allocations: 15.41 MB / 0.766 GB, free: 42.16 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/1.072, allocations: 80.75 kB / 0.766 GB, free: 42.08 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/1.072, allocations: 160 kB / 0.7662 GB, free: 41.92 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/1.074, allocations: 1.656 MB / 0.7678 GB, free: 40.26 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/1.079, allocations: 2.359 MB / 0.7701 GB, free: 37.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008538/1.088, allocations: 11.3 MB / 0.7811 GB, free: 26.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.094, allocations: 1.378 MB / 0.7825 GB, free: 25.11 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.095, allocations: 0.5312 MB / 0.783 GB, free: 24.58 MB / 0.4949 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.008301/1.103, allocations: 7.153 MB / 0.79 GB, free: 17.41 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009303/1.104, allocations: 0.6375 MB / 0.7906 GB, free: 16.77 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009436/1.114, allocations: 10.08 MB / 0.8005 GB, free: 6.574 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006929/1.121, allocations: 7.773 MB / 0.808 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.121, allocations: 12 kB / 0.8081 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/1.121, allocations: 27.89 kB / 0.8081 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2255/1.346, allocations: 24.47 MB / 0.832 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/1.346, allocations: 12.59 kB / 0.832 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.349, allocations: 1.018 MB / 0.833 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/1.351, allocations: 1.466 MB / 0.8344 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005533/1.352, allocations: 136 kB / 0.8345 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008422/1.36, allocations: 10.84 MB / 0.8451 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.36, allocations: 11.47 kB / 0.8451 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.374, allocations: 14.12 MB / 0.8589 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/1.377, allocations: 1.451 MB / 0.8604 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.378, allocations: 112.9 kB / 0.8605 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/1.381, allocations: 313.2 kB / 0.8608 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000609/1.381, allocations: 431.5 kB / 0.8612 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/1.381, allocations: 172.9 kB / 0.8613 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006111/1.388, allocations: 4.312 MB / 0.8655 GB, free: 146 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.388, allocations: 0 / 0.8655 GB, free: 146 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01128/1.399, allocations: 4.087 MB / 0.8695 GB, free: 141.9 MB / 0.5105 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.01429/1.413, allocations: 14.91 MB / 0.8841 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.427, allocations: 10.95 MB / 0.8948 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/1.427, allocations: 0 / 0.8948 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005072/1.432, allocations: 4.349 MB / 0.899 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/1.437, allocations: 1.566 MB / 0.9006 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1172/1.554, allocations: 94.68 MB / 0.993 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01769/1.572, allocations: 10.94 MB / 1.004 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007059/1.579, allocations: 3.774 MB / 1.007 GB, free: 13.57 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009699/1.588, allocations: 5.948 MB / 1.013 GB, free: 7.621 MB / 0.5262 GB Notification: Performance of SimCode: time 1.934e-06/1.588, allocations: 3.938 kB / 1.013 GB, free: 7.617 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5494/2.138, allocations: 210.9 MB / 1.219 GB, free: 117 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/15.21, allocations: 3.406 kB / 1.219 GB, free: 117 MB / 0.5262 GB " [Timeout remaining time 645] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 17.044029485434294]