Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 55.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009612/0.116, allocations: 7.806 MB / 425.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.1212, allocations: 2.656 MB / 428.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1223, allocations: 95.38 kB / 428.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.1236, allocations: 0.5897 MB / 428.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.1254, allocations: 0.7497 MB / 429.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.1262, allocations: 419.4 kB / 430.1 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.1296, allocations: 3.284 MB / 433.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.1326, allocations: 2.644 MB / 436 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.1354, allocations: 1.694 MB / 437.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.1382, allocations: 2.083 MB / 439.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005983/0.1388, allocations: 460 kB / 440.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.14, allocations: 0.6909 MB / 440.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.1411, allocations: 1.247 MB / 442.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.1431, allocations: 1.976 MB / 444.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2236/0.3667, allocations: 6.105 MB / 450.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3667, allocations: 0 / 450.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3667, allocations: 0.5 kB / 450.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002106/0.3669, allocations: 3.406 kB / 450.3 MB, free: 16.2 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.01119/0.3781, allocations: 3.893 MB / 454.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3781, allocations: 10.09 kB / 454.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007567/0.3789, allocations: 424.4 kB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.3801, allocations: 408.4 kB / 455 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/0.3845, allocations: 2.174 MB / 457.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.3846, allocations: 218.1 kB / 457.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.3851, allocations: 287.6 kB / 457.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/0.3918, allocations: 4.193 MB / 461.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/0.3918, allocations: 0 / 461.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.3921, allocations: 120.2 kB / 462 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.3923, allocations: 143.6 kB / 462.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005424/0.3977, allocations: 3.49 MB / 465.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.4153, allocations: 10.8 MB / 476.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.4179, allocations: 2.547 MB / 478.9 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.4203, allocations: 1.415 MB / 480.4 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.4206, allocations: 122.8 kB / 480.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.4206, allocations: 49.44 kB / 480.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.48e-06/0.4206, allocations: 0 / 480.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.008913/0.4295, allocations: 5.21 MB / 485.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.4296, allocations: 90.17 kB / 485.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.4324, allocations: 1.906 MB / 487.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.4326, allocations: 47.39 kB / 487.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.4338, allocations: 1.354 MB / 489.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/0.4343, allocations: 489.6 kB / 489.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.4348, allocations: 265.8 kB / 489.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4349, allocations: 309.1 kB / 490.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.4362, allocations: 0.8205 MB / 491 MB, free: 12.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.4378, allocations: 1.173 MB / 492.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.4408, allocations: 2.089 MB / 494.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4408, allocations: 0 / 494.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004743/0.4456, allocations: 2.524 MB / 496.8 MB, free: 6.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4456, allocations: 9.781 kB / 496.8 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.4456, allocations: 12 kB / 496.8 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.4475, allocations: 480.7 kB / 497.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.4488, allocations: 333.1 kB / 497.6 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.4545, allocations: 4.409 MB / 0.4902 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4562, allocations: 83.95 kB / 0.4903 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.4563, allocations: 63.98 kB / 0.4904 GB, free: 0.6719 MB / 382.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.001923/0.4583, allocations: 1.054 MB / 0.4914 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/0.4588, allocations: 194.8 kB / 0.4916 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/0.4626, allocations: 2.143 MB / 0.4937 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.4626, allocations: 16 kB / 0.4937 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4626, allocations: 14.28 kB / 0.4937 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.4626, allocations: 3.984 kB / 0.4937 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009274/0.4719, allocations: 5.157 MB / 0.4988 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.4719, allocations: 0 / 0.4988 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4729, allocations: 230.4 kB / 0.499 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.4747, allocations: 455.3 kB / 0.4994 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.741e-05/0.4748, allocations: 35.98 kB / 0.4994 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/0.4803, allocations: 4.304 MB / 0.5036 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.4803, allocations: 7.656 kB / 0.5037 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.486, allocations: 3.257 MB / 0.5068 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.4872, allocations: 463.7 kB / 0.5073 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.4875, allocations: 31.98 kB / 0.5073 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.4885, allocations: 98.38 kB / 0.5074 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.4888, allocations: 104.1 kB / 0.5075 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4889, allocations: 39.98 kB / 0.5075 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001998/0.4909, allocations: 1.33 MB / 0.5088 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4909, allocations: 4 kB / 0.5088 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001821/0.4927, allocations: 0.5618 MB / 0.5094 GB, free: 13.05 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.005695/0.4984, allocations: 3.926 MB / 0.5132 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.5021, allocations: 2.118 MB / 0.5153 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5021, allocations: 4.812 kB / 0.5153 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.504, allocations: 1.161 MB / 0.5164 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.5065, allocations: 0.5124 MB / 0.5169 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/0.5394, allocations: 20.54 MB / 0.537 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/0.5419, allocations: 2.434 MB / 0.5394 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001803/0.5437, allocations: 0.4915 MB / 0.5398 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.5453, allocations: 1.062 MB / 0.5409 GB, free: 12.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.784e-06/0.5453, allocations: 0.9844 kB / 0.5409 GB, free: 12.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/0.6513, allocations: 52.3 MB / 0.5919 GB, free: 8.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.93, allocations: 3.375 kB / 0.592 GB, free: 8.609 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.48905785381794]