Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001511/0.001511, allocations: 123 kB / 17.79 MB, free: 5.246 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.001617/0.001617, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 51.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 53.32 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2131/0.3256, allocations: 7.827 MB / 434.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005742/0.3313, allocations: 2.721 MB / 436.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.3327, allocations: 88.62 kB / 436.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3341, allocations: 0.5867 MB / 437.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.3362, allocations: 0.7596 MB / 438.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.3372, allocations: 416.7 kB / 438.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.3409, allocations: 3.292 MB / 442 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.344, allocations: 2.655 MB / 444.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.3474, allocations: 1.709 MB / 446.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004108/0.3515, allocations: 2.068 MB / 448.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.3527, allocations: 465.3 kB / 448.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.3547, allocations: 0.6725 MB / 449.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.356, allocations: 1.252 MB / 450.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004221/0.3602, allocations: 1.975 MB / 452.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3704, allocations: 6.115 MB / 458.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.3704, allocations: 5.25 kB / 458.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3704, allocations: 0 / 458.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002076/0.3706, allocations: 0 / 458.9 MB, free: 11.1 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01092/0.3815, allocations: 3.894 MB / 462.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3816, allocations: 10.28 kB / 462.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008483/0.3824, allocations: 434 kB / 463.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.3842, allocations: 451.1 kB / 463.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/0.3889, allocations: 2.183 MB / 465.9 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.3891, allocations: 224 kB / 466.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006757/0.3898, allocations: 284.6 kB / 466.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00907/0.3988, allocations: 4.187 MB / 470.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.184e-05/0.3989, allocations: 0 / 470.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.3995, allocations: 135 kB / 470.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.3997, allocations: 137.5 kB / 470.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007661/0.4074, allocations: 3.49 MB / 474.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.4327, allocations: 10.79 MB / 485.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.4363, allocations: 2.562 MB / 487.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.4392, allocations: 1.415 MB / 489.1 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.4395, allocations: 122.1 kB / 489.2 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.4396, allocations: 51.56 kB / 489.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.258e-06/0.4396, allocations: 0 / 489.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01159/0.4512, allocations: 5.204 MB / 494.4 MB, free: 12.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.4512, allocations: 90.42 kB / 494.5 MB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.4552, allocations: 1.914 MB / 496.4 MB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.4554, allocations: 49.69 kB / 496.5 MB, free: 9.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.4566, allocations: 1.365 MB / 497.8 MB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/0.4571, allocations: 471.9 kB / 498.3 MB, free: 8.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005506/0.4576, allocations: 279.5 kB / 498.6 MB, free: 7.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4577, allocations: 309.1 kB / 498.9 MB, free: 7.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.4592, allocations: 0.8159 MB / 499.7 MB, free: 6.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.4609, allocations: 1.175 MB / 0.4891 GB, free: 5.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.464, allocations: 2.083 MB / 0.4912 GB, free: 3.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.464, allocations: 4 kB / 0.4912 GB, free: 3.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004817/0.4688, allocations: 2.528 MB / 0.4936 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4689, allocations: 8 kB / 0.4936 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.4689, allocations: 8.188 kB / 0.4937 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.4709, allocations: 486.9 kB / 0.4941 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.4723, allocations: 327.5 kB / 0.4944 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.4785, allocations: 4.395 MB / 0.4987 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.4804, allocations: 87.98 kB / 0.4988 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.4807, allocations: 63.97 kB / 0.4989 GB, free: 11.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002348/0.483, allocations: 1.055 MB / 0.4999 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008078/0.4838, allocations: 198.7 kB / 0.5001 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.4883, allocations: 2.138 MB / 0.5022 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/0.4884, allocations: 20 kB / 0.5022 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4884, allocations: 4 kB / 0.5022 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4884, allocations: 7.969 kB / 0.5022 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.5017, allocations: 5.174 MB / 0.5073 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.5017, allocations: 4 kB / 0.5073 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.5028, allocations: 223.7 kB / 0.5075 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.5048, allocations: 456.5 kB / 0.5079 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.5049, allocations: 35.98 kB / 0.5079 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/0.5112, allocations: 4.31 MB / 0.5122 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.5112, allocations: 7.969 kB / 0.5122 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/0.5182, allocations: 3.256 MB / 0.5153 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/0.5199, allocations: 467.7 kB / 0.5158 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009238/0.5209, allocations: 28 kB / 0.5158 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.5226, allocations: 99.89 kB / 0.5159 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.523, allocations: 92.81 kB / 0.516 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/0.5231, allocations: 39.98 kB / 0.516 GB, free: 9.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003371/0.5265, allocations: 1.346 MB / 0.5174 GB, free: 7.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5265, allocations: 4 kB / 0.5174 GB, free: 7.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003501/0.53, allocations: 0.5468 MB / 0.5179 GB, free: 7.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006839/0.5369, allocations: 3.933 MB / 0.5217 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.541, allocations: 2.126 MB / 0.5238 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/0.541, allocations: 8.062 kB / 0.5238 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.5431, allocations: 1.151 MB / 0.5249 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.5463, allocations: 0.5063 MB / 0.5254 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/0.5885, allocations: 20.57 MB / 0.5455 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/0.5922, allocations: 2.424 MB / 0.5479 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001841/0.5941, allocations: 499.3 kB / 0.5484 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/0.596, allocations: 1.069 MB / 0.5494 GB, free: 6.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.596, allocations: 0 / 0.5494 GB, free: 6.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.7153, allocations: 52.34 MB / 0.6005 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.96, allocations: 15.8 kB / 0.6005 GB, free: 2.523 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.l2sigma.inductor[1].i in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.52544838898757]