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.001775/0.001775, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002213/0.002213, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001506/0.001506, allocations: 43.92 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2835, allocations: 53.37 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009785/0.2933, allocations: 6.904 MB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.2991, allocations: 2.613 MB / 440.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.3004, allocations: 87.38 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3019, allocations: 0.5781 MB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.3042, allocations: 0.7731 MB / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3054, allocations: 419.5 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.31, allocations: 3.296 MB / 445.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.3133, allocations: 2.007 MB / 447.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.3169, allocations: 1.705 MB / 449.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.3207, allocations: 2.083 MB / 451.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.3218, allocations: 464 kB / 452 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.3234, allocations: 0.6636 MB / 452.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.3247, allocations: 1.258 MB / 453.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.3269, allocations: 1.591 MB / 455.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007407/0.3343, allocations: 6.14 MB / 461.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3344, allocations: 0 / 461.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3344, allocations: 3.938 kB / 461.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001571/0.3345, allocations: 3.938 kB / 461.7 MB, free: 7.941 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.008358/0.3429, allocations: 3.821 MB / 465.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3429, allocations: 8.031 kB / 465.5 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006292/0.3436, allocations: 429.9 kB / 465.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.3449, allocations: 446.5 kB / 466.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.3494, allocations: 2.13 MB / 468.5 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.3496, allocations: 213.8 kB / 468.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.3501, allocations: 288 kB / 469 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/0.3581, allocations: 4.442 MB / 473.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.694e-05/0.3581, allocations: 3.938 kB / 473.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.3584, allocations: 116 kB / 473.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.3586, allocations: 141.9 kB / 473.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/0.3651, allocations: 3.482 MB / 477.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.3859, allocations: 9.693 MB / 486.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.3887, allocations: 1.66 MB / 488.5 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.3912, allocations: 1.399 MB / 489.9 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.3914, allocations: 44.97 kB / 489.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.3915, allocations: 47.56 kB / 490 MB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.3915, allocations: 4 kB / 490 MB, free: 11.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009992/0.4015, allocations: 5.132 MB / 495.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.4016, allocations: 90.42 kB / 495.2 MB, free: 5.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.4047, allocations: 1.941 MB / 497.2 MB, free: 3.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.4049, allocations: 49.7 kB / 497.2 MB, free: 3.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.4059, allocations: 1.353 MB / 498.6 MB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.4064, allocations: 483.9 kB / 499 MB, free: 2.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.4068, allocations: 271.5 kB / 499.3 MB, free: 1.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.407, allocations: 305.1 kB / 499.6 MB, free: 1.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.4083, allocations: 0.8198 MB / 0.4887 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.41, allocations: 1.2 MB / 0.4899 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.4131, allocations: 2.09 MB / 0.4919 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.4131, allocations: 0 / 0.4919 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005023/0.4182, allocations: 2.531 MB / 0.4944 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.4182, allocations: 8 kB / 0.4944 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.4182, allocations: 12 kB / 0.4944 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.42, allocations: 483.1 kB / 0.4948 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.4215, allocations: 331.5 kB / 0.4952 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.4272, allocations: 4.23 MB / 0.4993 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.4287, allocations: 83.94 kB / 0.4994 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.4288, allocations: 63.98 kB / 0.4994 GB, free: 5.238 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.001792/0.4306, allocations: 1.048 MB / 0.5005 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/0.4311, allocations: 202.8 kB / 0.5006 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.4349, allocations: 2.141 MB / 0.5027 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/0.4349, allocations: 19.98 kB / 0.5028 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4349, allocations: 8 kB / 0.5028 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.4349, allocations: 3.984 kB / 0.5028 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009761/0.4447, allocations: 4.869 MB / 0.5075 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.4447, allocations: 0 / 0.5075 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.4458, allocations: 231.9 kB / 0.5077 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.4474, allocations: 460.8 kB / 0.5082 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.4475, allocations: 35.97 kB / 0.5082 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/0.4531, allocations: 4.145 MB / 0.5123 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.4531, allocations: 15.95 kB / 0.5123 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.4587, allocations: 3.253 MB / 0.5155 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.4601, allocations: 390.6 kB / 0.5158 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/0.4604, allocations: 31.98 kB / 0.5159 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.4614, allocations: 95.97 kB / 0.516 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.4616, allocations: 100.7 kB / 0.5161 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.4617, allocations: 43.98 kB / 0.5161 GB, free: 3.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002198/0.4639, allocations: 1.342 MB / 0.5174 GB, free: 2.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4639, allocations: 0 / 0.5174 GB, free: 2.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4658, allocations: 0.5507 MB / 0.5179 GB, free: 2.016 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.006148/0.472, allocations: 3.927 MB / 0.5218 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.4758, allocations: 2.129 MB / 0.5239 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.4759, allocations: 4 kB / 0.5239 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.4779, allocations: 1.149 MB / 0.525 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.4804, allocations: 0.5086 MB / 0.5255 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2237/0.7041, allocations: 20.6 MB / 0.5456 GB, free: 97.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.7058, allocations: 1.875 MB / 0.5474 GB, free: 96.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001263/0.7071, allocations: 0.4894 MB / 0.5479 GB, free: 96.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.7082, allocations: 1.066 MB / 0.5489 GB, free: 96.04 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7082, allocations: 0 / 0.5489 GB, free: 96.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08753/0.7957, allocations: 56.17 MB / 0.6038 GB, free: 41.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.05, allocations: 7.125 kB / 0.6038 GB, free: 41.57 MB / 446.1 MB " [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.688662352011306]