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.001923/0.001923, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00179/0.00179, allocations: 214.4 kB / 24.52 MB, free: 3.941 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.793 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 47.92 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2863, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009674/0.296, allocations: 6.909 MB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.3019, allocations: 2.59 MB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.3033, allocations: 87.38 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.305, allocations: 0.582 MB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.3078, allocations: 0.7692 MB / 442.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3092, allocations: 423.4 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004562/0.3137, allocations: 3.296 MB / 446.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.3169, allocations: 2.004 MB / 448.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.3207, allocations: 1.712 MB / 450.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003891/0.3246, allocations: 2.083 MB / 452.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.326, allocations: 467.9 kB / 452.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.3283, allocations: 0.6675 MB / 453.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002119/0.3304, allocations: 1.259 MB / 454.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003805/0.3342, allocations: 1.587 MB / 456.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009248/0.3435, allocations: 6.143 MB / 462.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3435, allocations: 0 / 462.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3435, allocations: 0 / 462.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002272/0.3437, allocations: 0 / 462.4 MB, free: 7.965 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.0122/0.3559, allocations: 3.821 MB / 466.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.356, allocations: 8.031 kB / 466.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001504/0.3561, allocations: 78.03 kB / 466.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001624/0.3578, allocations: 433.9 kB / 466.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.3599, allocations: 442.5 kB / 467.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.3648, allocations: 2.13 MB / 469.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.3651, allocations: 221.8 kB / 469.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007058/0.3658, allocations: 284 kB / 469.8 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009572/0.3753, allocations: 4.438 MB / 474.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.3754, allocations: 3.938 kB / 474.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.3757, allocations: 120 kB / 474.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.376, allocations: 145.8 kB / 474.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007295/0.3832, allocations: 3.486 MB / 478 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/0.4046, allocations: 9.693 MB / 487.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.4074, allocations: 1.648 MB / 489.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/0.41, allocations: 1.395 MB / 490.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.4102, allocations: 52.97 kB / 490.8 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4103, allocations: 43.56 kB / 490.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.749e-06/0.4103, allocations: 0 / 490.8 MB, free: 11.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01059/0.4209, allocations: 5.136 MB / 496 MB, free: 5.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.421, allocations: 94.42 kB / 496.1 MB, free: 5.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/0.4244, allocations: 1.925 MB / 498 MB, free: 3.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.4246, allocations: 49.69 kB / 498 MB, free: 3.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.4258, allocations: 1.349 MB / 499.4 MB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.4264, allocations: 487.9 kB / 499.9 MB, free: 2.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005795/0.427, allocations: 271.5 kB / 0.4884 GB, free: 1.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4271, allocations: 305.1 kB / 0.4887 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4286, allocations: 0.8198 MB / 0.4895 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.4303, allocations: 1.204 MB / 0.4907 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.4336, allocations: 2.086 MB / 0.4927 GB, free: 13.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.4336, allocations: 0 / 0.4927 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004967/0.4386, allocations: 2.531 MB / 0.4952 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4386, allocations: 8 kB / 0.4952 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.4387, allocations: 12 kB / 0.4952 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.4407, allocations: 479.1 kB / 0.4957 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.4422, allocations: 331.5 kB / 0.496 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.4484, allocations: 4.232 MB / 0.5001 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.4501, allocations: 83.92 kB / 0.5002 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.4504, allocations: 64.05 kB / 0.5002 GB, free: 5.195 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.002196/0.4526, allocations: 1.052 MB / 0.5013 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/0.4534, allocations: 202.7 kB / 0.5015 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.4577, allocations: 2.133 MB / 0.5035 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/0.4578, allocations: 19.98 kB / 0.5036 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.4578, allocations: 4 kB / 0.5036 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4578, allocations: 3.984 kB / 0.5036 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.4693, allocations: 4.881 MB / 0.5083 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.4693, allocations: 4 kB / 0.5083 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4703, allocations: 231.6 kB / 0.5086 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.4724, allocations: 460.9 kB / 0.509 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.4725, allocations: 31.98 kB / 0.509 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.4784, allocations: 4.156 MB / 0.5131 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4784, allocations: 0 / 0.5131 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005727/0.4841, allocations: 3.26 MB / 0.5163 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.4854, allocations: 390.7 kB / 0.5167 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/0.486, allocations: 27.98 kB / 0.5167 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.4875, allocations: 91.91 kB / 0.5168 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.4878, allocations: 100.7 kB / 0.5169 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.4879, allocations: 44 kB / 0.5169 GB, free: 3.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002844/0.4907, allocations: 1.342 MB / 0.5182 GB, free: 2.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4907, allocations: 0 / 0.5182 GB, free: 2.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002501/0.4932, allocations: 0.5585 MB / 0.5188 GB, free: 1.969 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.006641/0.4999, allocations: 3.937 MB / 0.5226 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.5041, allocations: 2.122 MB / 0.5247 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5041, allocations: 4.188 kB / 0.5247 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.5063, allocations: 1.151 MB / 0.5258 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.5096, allocations: 0.5 MB / 0.5263 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2571/0.7667, allocations: 20.61 MB / 0.5464 GB, free: 97.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.7683, allocations: 1.872 MB / 0.5482 GB, free: 97.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.7695, allocations: 496.4 kB / 0.5487 GB, free: 97.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.7706, allocations: 1.068 MB / 0.5498 GB, free: 96.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7706, allocations: 0 / 0.5498 GB, free: 96.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08317/0.8538, allocations: 55.56 MB / 0.604 GB, free: 42.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.03, allocations: 0 / 0.604 GB, free: 42.22 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.8069158969447]