Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000834/0.000834, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008355/0.0008355, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8872/0.8872, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_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.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.08e-05, allocations: 3.406 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02188/0.0219, allocations: 24.53 MB / 349.1 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.03328, allocations: 7.038 MB / 356.1 MB, free: 164 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004873/0.03816, allocations: 314.5 kB / 356.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01499/0.05315, allocations: 12.93 MB / 369.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008819/0.06197, allocations: 2.676 MB / 372 MB, free: 212 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.06669, allocations: 2.042 MB / 374 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01709/0.08378, allocations: 19.09 MB / 393.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04368/0.1275, allocations: 28.19 MB / 421.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02121/0.1487, allocations: 15.09 MB / 436.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.163, allocations: 9.762 MB / 446.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006507/0.1695, allocations: 2.922 MB / 449.1 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2906/0.4601, allocations: 3.193 MB / 452.3 MB, free: 52.38 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007168/0.4673, allocations: 5.579 MB / 457.9 MB, free: 52.38 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01412/0.4814, allocations: 7.234 MB / 465.1 MB, free: 52.38 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02766/0.5091, allocations: 39.53 MB / 0.4928 GB, free: 34.56 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5091, allocations: 0.6562 kB / 0.4928 GB, free: 34.56 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5091, allocations: 3.938 kB / 0.4928 GB, free: 34.56 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001049/0.5101, allocations: 0.9375 kB / 0.4928 GB, free: 34.56 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.04484/0.555, allocations: 22.07 MB / 0.5144 GB, free: 20.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.555, allocations: 15.27 kB / 0.5144 GB, free: 20.11 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008061/0.5631, allocations: 2.961 MB / 0.5173 GB, free: 17.15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02322/0.5863, allocations: 8.247 MB / 0.5253 GB, free: 8.973 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/0.6043, allocations: 11.88 MB / 0.5369 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/0.6053, allocations: 1.349 MB / 0.5382 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005943/0.6113, allocations: 1.756 MB / 0.54 GB, free: 10.51 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05475/0.666, allocations: 29.03 MB / 0.5683 GB, free: 13.38 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005517/0.6666, allocations: 23.89 kB / 0.5683 GB, free: 13.36 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004402/0.671, allocations: 0.7283 MB / 0.569 GB, free: 12.64 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005392/0.6715, allocations: 0.8443 MB / 0.5699 GB, free: 11.79 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04103/0.7126, allocations: 24.77 MB / 0.5941 GB, free: 3.008 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3166/1.029, allocations: 78.92 MB / 0.6711 GB, free: 89.87 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.041, allocations: 12.76 MB / 0.6836 GB, free: 89.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004733/1.046, allocations: 5.051 MB / 0.6885 GB, free: 88.33 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/1.046, allocations: 138 kB / 0.6886 GB, free: 88.29 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.046, allocations: 99.75 kB / 0.6887 GB, free: 88.24 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 7.685e-06/1.046, allocations: 0 / 0.6887 GB, free: 88.24 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.01852/1.064, allocations: 14.69 MB / 0.7031 GB, free: 80.74 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/1.065, allocations: 147.7 kB / 0.7032 GB, free: 80.63 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006847/1.071, allocations: 6.7 MB / 0.7098 GB, free: 76.25 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009627/1.072, allocations: 117.7 kB / 0.7099 GB, free: 76.12 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002791/1.075, allocations: 7.864 MB / 0.7176 GB, free: 68.33 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.077, allocations: 2.081 MB / 0.7196 GB, free: 66.28 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00213/1.079, allocations: 2.099 MB / 0.7216 GB, free: 64.17 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.58e-05/1.079, allocations: 301.1 kB / 0.7219 GB, free: 63.88 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/1.083, allocations: 4.744 MB / 0.7266 GB, free: 59.12 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006245/1.09, allocations: 9.499 MB / 0.7358 GB, free: 47.45 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.101, allocations: 15.33 MB / 0.7508 GB, free: 30.48 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/1.101, allocations: 48 kB / 0.7509 GB, free: 30.43 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01899/1.12, allocations: 15.41 MB / 0.7659 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/1.121, allocations: 75.94 kB / 0.766 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/1.121, allocations: 164 kB / 0.7661 GB, free: 15.69 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/1.124, allocations: 1.653 MB / 0.7677 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/1.129, allocations: 2.36 MB / 0.77 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/1.138, allocations: 11.31 MB / 0.7811 GB, free: 0.5273 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/1.145, allocations: 1.378 MB / 0.7824 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.146, allocations: 0.5351 MB / 0.783 GB, free: 14.6 MB / 0.5105 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.01064/1.157, allocations: 7.141 MB / 0.7899 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.158, allocations: 0.6481 MB / 0.7906 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.17, allocations: 10.07 MB / 0.8004 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009652/1.179, allocations: 7.764 MB / 0.808 GB, free: 5.027 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.179, allocations: 12 kB / 0.808 GB, free: 5.016 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.148e-05/1.179, allocations: 35.83 kB / 0.808 GB, free: 4.98 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2204/1.4, allocations: 24.47 MB / 0.8319 GB, free: 186.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.4, allocations: 7.781 kB / 0.8319 GB, free: 186.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.403, allocations: 1.021 MB / 0.8329 GB, free: 186.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/1.406, allocations: 1.459 MB / 0.8344 GB, free: 186.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008638/1.406, allocations: 130.7 kB / 0.8345 GB, free: 186.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009641/1.416, allocations: 10.85 MB / 0.8451 GB, free: 185 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.416, allocations: 13.59 kB / 0.8451 GB, free: 185 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/1.428, allocations: 14.12 MB / 0.8589 GB, free: 179.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.431, allocations: 1.441 MB / 0.8603 GB, free: 178.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007222/1.432, allocations: 114.7 kB / 0.8604 GB, free: 178.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.433, allocations: 313.5 kB / 0.8607 GB, free: 178.3 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005975/1.434, allocations: 430.5 kB / 0.8611 GB, free: 178.2 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.434, allocations: 176.6 kB / 0.8613 GB, free: 178.1 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005628/1.44, allocations: 4.309 MB / 0.8655 GB, free: 176.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.91e-07/1.44, allocations: 0 / 0.8655 GB, free: 176.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009211/1.449, allocations: 4.09 MB / 0.8695 GB, free: 175.3 MB / 0.5418 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.01359/1.462, allocations: 14.9 MB / 0.884 GB, free: 164.9 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.473, allocations: 10.96 MB / 0.8947 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.473, allocations: 7.172 kB / 0.8947 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003952/1.477, allocations: 4.337 MB / 0.899 GB, free: 151.8 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/1.482, allocations: 1.558 MB / 0.9005 GB, free: 150.5 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1123/1.594, allocations: 94.69 MB / 0.993 GB, free: 50.6 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/1.607, allocations: 10.94 MB / 1.004 GB, free: 39.6 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.006771/1.614, allocations: 3.77 MB / 1.007 GB, free: 35.82 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008691/1.622, allocations: 5.956 MB / 1.013 GB, free: 29.86 MB / 0.5418 GB Notification: Performance of SimCode: time 1.363e-06/1.622, allocations: 0 / 1.013 GB, free: 29.86 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3495/1.972, allocations: 210.9 MB / 1.219 GB, free: 47.77 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/16.52, allocations: 7.891 kB / 1.219 GB, free: 47.76 MB / 0.5418 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.368150686845183]