Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002018/0.002018, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002356/0.002356, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.464/1.464, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_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.002663/0.002663, allocations: 47.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3356, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008459/0.3441, allocations: 7.779 MB / 404.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.3505, allocations: 2.752 MB / 406.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.3523, allocations: 77.34 kB / 407 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.3538, allocations: 0.5866 MB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.3568, allocations: 0.7771 MB / 408.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.358, allocations: 442.6 kB / 408.8 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00468/0.3626, allocations: 3.408 MB / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.3654, allocations: 1.917 MB / 414.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/0.369, allocations: 1.694 MB / 415.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.3731, allocations: 2.07 MB / 417.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.3742, allocations: 461.1 kB / 418.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.3765, allocations: 0.7549 MB / 419.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.3782, allocations: 1.261 MB / 420.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003417/0.3816, allocations: 1.961 MB / 422.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.3897, allocations: 6.115 MB / 428.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3897, allocations: 0 / 428.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3897, allocations: 0 / 428.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001801/0.3899, allocations: 0 / 428.4 MB, free: 3.148 MB / 334.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.00979/0.3997, allocations: 3.793 MB / 432.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3997, allocations: 19.98 kB / 432.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007312/0.4004, allocations: 429.8 kB / 432.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.4015, allocations: 406.6 kB / 433 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.4054, allocations: 1.916 MB / 434.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.4055, allocations: 217.8 kB / 435.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/0.406, allocations: 287.9 kB / 435.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007497/0.4135, allocations: 4.187 MB / 439.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/0.4136, allocations: 3.938 kB / 439.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.4139, allocations: 116 kB / 439.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.414, allocations: 141.9 kB / 439.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006977/0.421, allocations: 3.486 MB / 443.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.4515, allocations: 10.69 MB / 454.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.4543, allocations: 1.644 MB / 455.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/0.4568, allocations: 1.411 MB / 457.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.4571, allocations: 48.97 kB / 457.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.4571, allocations: 47.5 kB / 457.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.4571, allocations: 0 / 457.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009891/0.467, allocations: 5.171 MB / 462.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.4671, allocations: 90.42 kB / 462.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.47, allocations: 1.91 MB / 464.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.4702, allocations: 49.64 kB / 464.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.4713, allocations: 1.353 MB / 465.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.4717, allocations: 479.9 kB / 466.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/0.4722, allocations: 271.5 kB / 466.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4723, allocations: 309.1 kB / 466.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4736, allocations: 0.8159 MB / 467.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.4752, allocations: 1.183 MB / 468.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/0.4782, allocations: 2.087 MB / 470.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.4782, allocations: 4 kB / 470.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004747/0.483, allocations: 2.531 MB / 473.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.483, allocations: 12.19 kB / 473.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.483, allocations: 12 kB / 473.5 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.485, allocations: 482.2 kB / 473.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4864, allocations: 335.5 kB / 474.3 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4923, allocations: 4.3 MB / 478.6 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.494, allocations: 87.86 kB / 478.6 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.4941, allocations: 60.06 kB / 478.7 MB, free: 15.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.002115/0.4962, allocations: 1.044 MB / 479.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.4968, allocations: 202.8 kB / 479.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.5008, allocations: 2.133 MB / 482.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/0.5008, allocations: 16 kB / 482.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5008, allocations: 8 kB / 482.1 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5009, allocations: 11.91 kB / 482.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009123/0.51, allocations: 5.15 MB / 487.3 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.51, allocations: 4 kB / 487.3 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.511, allocations: 235.9 kB / 487.5 MB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.5128, allocations: 465 kB / 487.9 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.487e-05/0.5129, allocations: 27.98 kB / 488 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.5186, allocations: 4.188 MB / 492.2 MB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5186, allocations: 0 / 492.2 MB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/0.5239, allocations: 3.26 MB / 495.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.5252, allocations: 390.6 kB / 495.8 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.5254, allocations: 28 kB / 495.8 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.5264, allocations: 95.95 kB / 495.9 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.5266, allocations: 108.6 kB / 496 MB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/0.5267, allocations: 36 kB / 496.1 MB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002001/0.5287, allocations: 1.342 MB / 497.4 MB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5287, allocations: 0 / 497.4 MB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001789/0.5305, allocations: 0.5583 MB / 498 MB, free: 12.42 MB / 414.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.005817/0.5363, allocations: 3.928 MB / 0.4901 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.54, allocations: 2.12 MB / 0.4922 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.54, allocations: 6 kB / 0.4922 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.5421, allocations: 1.167 MB / 0.4933 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.5445, allocations: 0.5089 MB / 0.4938 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/0.5789, allocations: 20.65 MB / 0.514 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/0.5813, allocations: 2.423 MB / 0.5164 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001474/0.5828, allocations: 0.4915 MB / 0.5169 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.5843, allocations: 1.066 MB / 0.5179 GB, free: 11.36 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5843, allocations: 0 / 0.5179 GB, free: 11.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.29/0.8743, allocations: 53.48 MB / 0.5701 GB, free: 147.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.62, allocations: 7.125 kB / 0.5701 GB, free: 147.3 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.212775724001403]