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.001651/0.001651, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001809/0.001809, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.44/1.44, allocations: 207.6 MB / 231.8 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 55.91 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1175, allocations: 49.13 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03256/0.1501, allocations: 29.69 MB / 421.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.1691, allocations: 7.448 MB / 428.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008622/0.1777, allocations: 262.6 kB / 428.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03102/0.2087, allocations: 13.28 MB / 442.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.2239, allocations: 2.906 MB / 445 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00781/0.2317, allocations: 2.101 MB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4052/0.6369, allocations: 18.93 MB / 466 MB, free: 4.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06352/0.7005, allocations: 34.65 MB / 0.489 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.7174, allocations: 10.48 MB / 0.4992 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0249/0.7423, allocations: 12.23 MB / 0.5111 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01026/0.7526, allocations: 3.074 MB / 0.5141 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.7643, allocations: 3.234 MB / 0.5173 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01179/0.7761, allocations: 5.778 MB / 0.5229 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02025/0.7963, allocations: 11.23 MB / 0.5339 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05046/0.8468, allocations: 39.77 MB / 0.5727 GB, free: 2.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8468, allocations: 0 / 0.5727 GB, free: 2.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8468, allocations: 0 / 0.5727 GB, free: 2.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001113/0.8479, allocations: 0 / 0.5727 GB, free: 2.098 MB / 462.1 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.07067/0.9186, allocations: 23.27 MB / 0.5955 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.9186, allocations: 8.031 kB / 0.5955 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01013/0.9288, allocations: 3.107 MB / 0.5985 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06728/0.996, allocations: 12.38 MB / 0.6106 GB, free: 11.48 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02331/1.019, allocations: 10.58 MB / 0.6209 GB, free: 1.348 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001452/1.021, allocations: 1.402 MB / 0.6223 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006817/1.028, allocations: 1.832 MB / 0.6241 GB, free: 14.14 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4969/1.525, allocations: 30.85 MB / 0.6542 GB, free: 166.7 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009183/1.525, allocations: 18.84 kB / 0.6542 GB, free: 166.7 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006569/1.532, allocations: 0.7618 MB / 0.655 GB, free: 166.7 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001526/1.534, allocations: 0.9689 MB / 0.6559 GB, free: 166.7 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05361/1.587, allocations: 27.88 MB / 0.6831 GB, free: 158.1 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1302/1.717, allocations: 93.49 MB / 0.7744 GB, free: 73.08 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02938/1.747, allocations: 52.7 MB / 0.8259 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008717/1.756, allocations: 5.549 MB / 0.8313 GB, free: 9.941 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02788/1.783, allocations: 16.63 MB / 0.8476 GB, free: 9.215 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.821e-05/1.783, allocations: 73.91 kB / 0.8476 GB, free: 9.133 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=427): time 6.081e-06/1.783, allocations: 4 kB / 0.8476 GB, free: 9.129 MB / 0.5452 GB Notification: Performance of matching and sorting (n=427): time 0.03399/1.817, allocations: 13.21 MB / 0.8605 GB, free: 11.88 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.818, allocations: 128.4 kB / 0.8607 GB, free: 11.73 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/1.831, allocations: 7.496 MB / 0.868 GB, free: 4.379 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000819/1.832, allocations: 97.7 kB / 0.8681 GB, free: 4.277 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.2212/2.053, allocations: 8.861 MB / 0.8767 GB, free: 182.8 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.002105/2.055, allocations: 1.628 MB / 0.8783 GB, free: 182 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004615/2.06, allocations: 2.291 MB / 0.8806 GB, free: 181.8 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/2.06, allocations: 304.4 kB / 0.8808 GB, free: 181.5 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008109/2.068, allocations: 4.709 MB / 0.8854 GB, free: 180.5 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/2.079, allocations: 10.4 MB / 0.8956 GB, free: 171.3 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/2.096, allocations: 15.99 MB / 0.9112 GB, free: 158.8 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002471/2.096, allocations: 57.88 kB / 0.9113 GB, free: 158.8 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02728/2.124, allocations: 16 MB / 0.9269 GB, free: 152.5 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/2.124, allocations: 91.19 kB / 0.927 GB, free: 152.5 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004545/2.124, allocations: 196.8 kB / 0.9272 GB, free: 152.5 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006217/2.131, allocations: 1.694 MB / 0.9288 GB, free: 152.1 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008499/2.139, allocations: 2.504 MB / 0.9313 GB, free: 151.9 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/2.153, allocations: 11.54 MB / 0.9425 GB, free: 145.7 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008567/2.162, allocations: 1.584 MB / 0.9441 GB, free: 145.1 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/2.163, allocations: 0.6059 MB / 0.9447 GB, free: 145 MB / 0.5608 GB 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.01094/2.174, allocations: 7.395 MB / 0.9519 GB, free: 140.1 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/2.176, allocations: 0.6558 MB / 0.9525 GB, free: 139.4 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/2.189, allocations: 8.063 MB / 0.9604 GB, free: 132.7 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00801/2.197, allocations: 6.449 MB / 0.9667 GB, free: 127.1 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/2.197, allocations: 12 kB / 0.9667 GB, free: 127.1 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/2.197, allocations: 22.83 kB / 0.9668 GB, free: 127.1 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03443/2.232, allocations: 20.71 MB / 0.987 GB, free: 107.9 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/2.232, allocations: 0 / 0.987 GB, free: 107.9 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/2.235, allocations: 0.7723 MB / 0.9877 GB, free: 107.2 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/2.239, allocations: 1.45 MB / 0.9891 GB, free: 105.7 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005827/2.24, allocations: 95.97 kB / 0.9892 GB, free: 105.6 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/2.252, allocations: 11.15 MB / 1 GB, free: 94.38 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.252, allocations: 0 / 1 GB, free: 94.38 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/2.266, allocations: 11.71 MB / 1.012 GB, free: 82.62 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/2.269, allocations: 1.344 MB / 1.013 GB, free: 81.31 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/2.271, allocations: 79.98 kB / 1.013 GB, free: 81.23 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/2.274, allocations: 303.5 kB / 1.013 GB, free: 80.94 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006185/2.274, allocations: 299.8 kB / 1.014 GB, free: 80.65 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/2.274, allocations: 123.9 kB / 1.014 GB, free: 80.53 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.006282/2.281, allocations: 4.926 MB / 1.018 GB, free: 75.62 MB / 0.5608 GB Notification: Performance of sort global known variables: time 1.7e-07/2.281, allocations: 3.75 kB / 1.018 GB, free: 75.62 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.01064/2.291, allocations: 4.244 MB / 1.023 GB, free: 71.45 MB / 0.5608 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.01419/2.306, allocations: 12.43 MB / 1.035 GB, free: 58.96 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.01448/2.32, allocations: 10.53 MB / 1.045 GB, free: 48.45 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/2.32, allocations: 6.188 kB / 1.045 GB, free: 48.45 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.005422/2.325, allocations: 3.664 MB / 1.049 GB, free: 44.78 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007173/2.333, allocations: 1.539 MB / 1.05 GB, free: 43.25 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.345/2.678, allocations: 100 MB / 1.148 GB, free: 133.9 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0169/2.695, allocations: 11.61 MB / 1.159 GB, free: 124.8 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.009507/2.704, allocations: 3.977 MB / 1.163 GB, free: 120.8 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00857/2.713, allocations: 6.119 MB / 1.169 GB, free: 114.7 MB / 0.5608 GB Notification: Performance of SimCode: time 1.914e-06/2.713, allocations: 0 / 1.169 GB, free: 114.7 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/3.19, allocations: 206.5 MB / 1.371 GB, free: 139.9 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.35/30.54, allocations: 6.172 kB / 1.371 GB, free: 139.9 MB / 0.5764 GB " [Timeout remaining time 629] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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: 33.21500141899742]