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.0008122/0.0008122, allocations: 76.08 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.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.001039/0.001039, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8719/0.8719, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.647e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0168/0.01682, allocations: 24.51 MB / 343 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.02999, allocations: 6.973 MB / 349.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004275/0.03427, allocations: 310.4 kB / 350.2 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.04633, allocations: 12.93 MB / 363.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007494/0.05383, allocations: 2.815 MB / 366 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.05783, allocations: 1.861 MB / 367.8 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01597/0.07379, allocations: 18.92 MB / 386.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0356/0.1094, allocations: 28.17 MB / 414.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02273/0.1321, allocations: 15.11 MB / 430 MB, free: 6.293 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.1455, allocations: 9.758 MB / 439.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006188/0.1517, allocations: 2.918 MB / 442.7 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006446/0.1581, allocations: 3.171 MB / 445.9 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004412/0.1625, allocations: 5.572 MB / 451.5 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3187/0.4812, allocations: 7.232 MB / 458.7 MB, free: 52.45 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03049/0.5117, allocations: 39.51 MB / 498.2 MB, free: 38.17 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5117, allocations: 0 / 498.2 MB, free: 38.17 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5117, allocations: 0.8125 kB / 498.2 MB, free: 38.17 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0008843/0.5126, allocations: 0 / 498.2 MB, free: 38.17 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.04788/0.5605, allocations: 22.06 MB / 0.5081 GB, free: 24.5 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/0.5606, allocations: 11.14 kB / 0.5081 GB, free: 24.5 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008791/0.5693, allocations: 2.958 MB / 0.511 GB, free: 22.32 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02149/0.5908, allocations: 8.417 MB / 0.5192 GB, free: 13.97 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.019/0.6098, allocations: 11.87 MB / 0.5308 GB, free: 2.598 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007188/0.6106, allocations: 1.338 MB / 0.5321 GB, free: 1.27 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006152/0.6167, allocations: 1.759 MB / 0.5338 GB, free: 15.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0591/0.6758, allocations: 28.98 MB / 0.5621 GB, free: 2.434 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003856/0.6762, allocations: 23.28 kB / 0.5621 GB, free: 2.414 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003577/0.6798, allocations: 0.7311 MB / 0.5628 GB, free: 1.695 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005771/0.6804, allocations: 0.8415 MB / 0.5637 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04465/0.725, allocations: 24.72 MB / 0.5878 GB, free: 8.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2803/1.005, allocations: 78.87 MB / 0.6648 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.016, allocations: 12.75 MB / 0.6773 GB, free: 127 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/1.021, allocations: 5.027 MB / 0.6822 GB, free: 126.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/1.021, allocations: 108.5 kB / 0.6823 GB, free: 126.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/1.021, allocations: 90.14 kB / 0.6824 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 6.933e-06/1.021, allocations: 0 / 0.6824 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.0182/1.039, allocations: 14.66 MB / 0.6967 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/1.04, allocations: 138 kB / 0.6968 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/1.046, allocations: 6.699 MB / 0.7034 GB, free: 114.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003121/1.046, allocations: 117.7 kB / 0.7035 GB, free: 114.6 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.048, allocations: 7.87 MB / 0.7112 GB, free: 106.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008751/1.049, allocations: 2.079 MB / 0.7132 GB, free: 104.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/1.051, allocations: 2.076 MB / 0.7152 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/1.051, allocations: 305.1 kB / 0.7155 GB, free: 102.3 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/1.055, allocations: 4.736 MB / 0.7201 GB, free: 97.56 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004981/1.06, allocations: 9.492 MB / 0.7294 GB, free: 85.88 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009553/1.069, allocations: 15.3 MB / 0.7443 GB, free: 68.33 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-05/1.07, allocations: 48 kB / 0.7444 GB, free: 68.29 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01307/1.083, allocations: 15.38 MB / 0.7594 GB, free: 52.82 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/1.083, allocations: 73.09 kB / 0.7595 GB, free: 52.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/1.083, allocations: 160 kB / 0.7596 GB, free: 52.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/1.086, allocations: 1.653 MB / 0.7612 GB, free: 50.94 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/1.089, allocations: 2.355 MB / 0.7635 GB, free: 48.58 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008436/1.098, allocations: 11.3 MB / 0.7746 GB, free: 37.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.102, allocations: 1.378 MB / 0.7759 GB, free: 35.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/1.102, allocations: 0.5284 MB / 0.7764 GB, free: 35.26 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.008547/1.111, allocations: 7.145 MB / 0.7834 GB, free: 28.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006951/1.112, allocations: 0.6481 MB / 0.784 GB, free: 27.45 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009418/1.121, allocations: 10.06 MB / 0.7939 GB, free: 17.27 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00618/1.127, allocations: 7.73 MB / 0.8014 GB, free: 9.457 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.127, allocations: 12 kB / 0.8014 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/1.127, allocations: 31.88 kB / 0.8015 GB, free: 9.414 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/1.156, allocations: 24.43 MB / 0.8253 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.156, allocations: 8 kB / 0.8253 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.181/1.337, allocations: 1.006 MB / 0.8263 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/1.341, allocations: 1.465 MB / 0.8277 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/1.342, allocations: 130.4 kB / 0.8279 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009482/1.352, allocations: 10.84 MB / 0.8385 GB, free: 162 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.352, allocations: 11.97 kB / 0.8385 GB, free: 162 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.364, allocations: 14.08 MB / 0.8522 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.366, allocations: 1.439 MB / 0.8536 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/1.366, allocations: 109.4 kB / 0.8537 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.367, allocations: 330.5 kB / 0.854 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004581/1.368, allocations: 418.6 kB / 0.8544 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.368, allocations: 164.3 kB / 0.8546 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004245/1.372, allocations: 4.306 MB / 0.8588 GB, free: 155 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.372, allocations: 3.844 kB / 0.8588 GB, free: 155 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00683/1.379, allocations: 4.085 MB / 0.8628 GB, free: 153.6 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.01156/1.391, allocations: 14.88 MB / 0.8773 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.401, allocations: 10.93 MB / 0.888 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/1.401, allocations: 0 / 0.888 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003426/1.404, allocations: 4.338 MB / 0.8922 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/1.408, allocations: 1.558 MB / 0.8938 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09584/1.504, allocations: 94.77 MB / 0.9863 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00951/1.514, allocations: 10.94 MB / 0.997 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005475/1.519, allocations: 3.774 MB / 1.001 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004649/1.524, allocations: 5.921 MB / 1.006 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of SimCode: time 1.884e-06/1.524, allocations: 0 / 1.006 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5734/2.097, allocations: 209.8 MB / 1.211 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/16.56, allocations: 9.469 kB / 1.211 GB, free: 113.6 MB / 0.5105 GB " [Timeout remaining time 643] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 18.374850563704967]