Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.000892/0.000892, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003676/0.003676, allocations: 164.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8218/0.8218, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.501e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1678/0.1678, allocations: 25.29 MB / 323.7 MB, free: 188 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.1831, allocations: 7.284 MB / 331 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005347/0.1885, allocations: 262.7 kB / 331.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01478/0.2032, allocations: 13 MB / 344.3 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.215, allocations: 3.041 MB / 347.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.2193, allocations: 2.085 MB / 349.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01822/0.2376, allocations: 19.78 MB / 369.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03718/0.2747, allocations: 28.39 MB / 397.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02202/0.2968, allocations: 15.58 MB / 413.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0148/0.3116, allocations: 10.23 MB / 423.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006507/0.3181, allocations: 2.977 MB / 426.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007012/0.3251, allocations: 3.241 MB / 429.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.3301, allocations: 5.88 MB / 435.5 MB, free: 5.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01495/0.345, allocations: 7.505 MB / 443 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3064/0.6514, allocations: 40.17 MB / 483.1 MB, free: 61.72 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6514, allocations: 0 / 483.1 MB, free: 61.72 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6514, allocations: 1.344 kB / 483.1 MB, free: 61.72 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001005/0.6524, allocations: 0 / 483.1 MB, free: 61.72 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: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.05268/0.7051, allocations: 23.02 MB / 0.4943 GB, free: 49.55 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7051, allocations: 15.58 kB / 0.4943 GB, free: 49.55 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007455/0.7126, allocations: 3.118 MB / 0.4974 GB, free: 47.63 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03324/0.7458, allocations: 12.37 MB / 0.5094 GB, free: 40.27 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/0.767, allocations: 10.8 MB / 0.52 GB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007414/0.7677, allocations: 1.397 MB / 0.5214 GB, free: 28.58 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007275/0.775, allocations: 1.839 MB / 0.5232 GB, free: 26.76 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05894/0.834, allocations: 31.1 MB / 0.5535 GB, free: 11.56 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003967/0.8343, allocations: 19.91 kB / 0.5535 GB, free: 11.54 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004192/0.8385, allocations: 0.7597 MB / 0.5543 GB, free: 10.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000664/0.8392, allocations: 0.9748 MB / 0.5552 GB, free: 9.824 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04948/0.8887, allocations: 27.77 MB / 0.5824 GB, free: 14.02 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3083/1.197, allocations: 83.6 MB / 0.664 GB, free: 121 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.21, allocations: 16.88 MB / 0.6805 GB, free: 120.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004535/1.215, allocations: 5.536 MB / 0.6859 GB, free: 120.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01449/1.229, allocations: 13.94 MB / 0.6995 GB, free: 115.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.229, allocations: 79.41 kB / 0.6996 GB, free: 115.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=427): time 5.751e-06/1.229, allocations: 0 / 0.6996 GB, free: 115.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=427): time 0.01695/1.246, allocations: 13.14 MB / 0.7124 GB, free: 106.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.246, allocations: 124.5 kB / 0.7125 GB, free: 106.1 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007086/1.253, allocations: 7.858 MB / 0.7202 GB, free: 98.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.254, allocations: 93.7 kB / 0.7203 GB, free: 98.1 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/1.256, allocations: 8.823 MB / 0.7289 GB, free: 89.28 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/1.257, allocations: 1.609 MB / 0.7305 GB, free: 87.69 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/1.259, allocations: 2.263 MB / 0.7327 GB, free: 85.42 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 2.736e-05/1.259, allocations: 301.1 kB / 0.733 GB, free: 85.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/1.262, allocations: 4.702 MB / 0.7376 GB, free: 80.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/1.267, allocations: 10.43 MB / 0.7478 GB, free: 67.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.279, allocations: 15.99 MB / 0.7634 GB, free: 48.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001916/1.28, allocations: 56 kB / 0.7634 GB, free: 48.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.0223/1.302, allocations: 16.01 MB / 0.7791 GB, free: 32.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.302, allocations: 88 kB / 0.7791 GB, free: 32.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/1.302, allocations: 198.5 kB / 0.7793 GB, free: 32.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/1.305, allocations: 1.696 MB / 0.781 GB, free: 30.55 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.311, allocations: 2.503 MB / 0.7834 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/1.321, allocations: 11.22 MB / 0.7944 GB, free: 16.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007865/1.329, allocations: 1.587 MB / 0.7959 GB, free: 15.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/1.331, allocations: 0.6015 MB / 0.7965 GB, free: 14.52 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.01061/1.341, allocations: 7.402 MB / 0.8038 GB, free: 7.098 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.342, allocations: 0.6597 MB / 0.8044 GB, free: 6.434 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008857/1.351, allocations: 8.056 MB / 0.8123 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006913/1.358, allocations: 6.453 MB / 0.8186 GB, free: 7.871 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.358, allocations: 12 kB / 0.8186 GB, free: 7.859 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/1.358, allocations: 19.92 kB / 0.8186 GB, free: 7.84 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.237/1.595, allocations: 20.08 MB / 0.8382 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.595, allocations: 0 / 0.8382 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.597, allocations: 0.7699 MB / 0.839 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/1.6, allocations: 1.456 MB / 0.8404 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004707/1.6, allocations: 91.19 kB / 0.8405 GB, free: 160.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009692/1.61, allocations: 10.84 MB / 0.851 GB, free: 156.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.61, allocations: 0 / 0.851 GB, free: 156.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.623, allocations: 11.7 MB / 0.8625 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.625, allocations: 1.311 MB / 0.8638 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.626, allocations: 75.44 kB / 0.8638 GB, free: 150.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.628, allocations: 302.7 kB / 0.8641 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/1.629, allocations: 311.6 kB / 0.8644 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.629, allocations: 131 kB / 0.8645 GB, free: 150.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007996/1.637, allocations: 4.928 MB / 0.8694 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4e-08/1.637, allocations: 0 / 0.8694 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01433/1.651, allocations: 4.24 MB / 0.8735 GB, free: 144.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.01328/1.665, allocations: 12.43 MB / 0.8856 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.677, allocations: 10.53 MB / 0.8959 GB, free: 124.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.677, allocations: 9.578 kB / 0.8959 GB, free: 124.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004372/1.681, allocations: 3.659 MB / 0.8995 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006096/1.687, allocations: 1.542 MB / 0.901 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1407/1.828, allocations: 100.1 MB / 0.9988 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01962/1.848, allocations: 11.3 MB / 1.01 GB, free: 2.043 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.1685/2.016, allocations: 3.976 MB / 1.014 GB, free: 174.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009523/2.026, allocations: 6.122 MB / 1.02 GB, free: 173.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.162e-06/2.026, allocations: 0 / 1.02 GB, free: 173.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/2.395, allocations: 207.6 MB / 1.222 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/16.27, allocations: 15.31 kB / 1.222 GB, free: 119.3 MB / 0.4949 GB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.028299955651164]