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.001458/0.001458, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001637/0.001637, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.361/1.361, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.00145/0.00145, allocations: 43.94 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2637, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01047/0.2742, allocations: 7.846 MB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.2788, allocations: 2.745 MB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005953/0.2794, allocations: 87.38 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.2806, allocations: 0.5984 MB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.2822, allocations: 0.7653 MB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.2829, allocations: 423.4 kB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.2861, allocations: 3.288 MB / 447.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.2885, allocations: 2.007 MB / 449.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.2914, allocations: 1.702 MB / 451.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.2943, allocations: 2.086 MB / 453.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005619/0.2948, allocations: 464 kB / 453.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.2959, allocations: 0.722 MB / 454.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.2971, allocations: 1.262 MB / 455.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.2993, allocations: 1.968 MB / 457.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006455/0.3057, allocations: 6.123 MB / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3057, allocations: 0 / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3057, allocations: 0 / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000104/0.3058, allocations: 0 / 464 MB, free: 6.652 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.007847/0.3137, allocations: 3.821 MB / 467.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3137, allocations: 8.031 kB / 467.8 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.071e-05/0.3138, allocations: 78.03 kB / 467.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005763/0.3144, allocations: 433.8 kB / 468.3 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.3158, allocations: 454.5 kB / 468.8 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.3194, allocations: 2.115 MB / 470.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.3196, allocations: 225.7 kB / 471.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.32, allocations: 284 kB / 471.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/0.3265, allocations: 4.191 MB / 475.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.3266, allocations: 0 / 475.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.3269, allocations: 120 kB / 475.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.327, allocations: 137.9 kB / 475.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005593/0.3326, allocations: 3.49 MB / 479.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.3515, allocations: 10.67 MB / 490 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.3543, allocations: 1.651 MB / 491.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.3569, allocations: 1.403 MB / 493 MB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.3571, allocations: 48.95 kB / 493.1 MB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.3571, allocations: 51.56 kB / 493.1 MB, free: 9.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.807e-06/0.3571, allocations: 0 / 493.1 MB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01017/0.3673, allocations: 5.132 MB / 498.3 MB, free: 3.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3674, allocations: 94.42 kB / 498.4 MB, free: 3.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.3709, allocations: 1.914 MB / 0.4886 GB, free: 1.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.371, allocations: 49.7 kB / 0.4886 GB, free: 1.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.3721, allocations: 1.357 MB / 0.4899 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.3726, allocations: 483.9 kB / 0.4904 GB, free: 36 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.3731, allocations: 271.5 kB / 0.4907 GB, free: 15.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3732, allocations: 305.1 kB / 0.4909 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.3745, allocations: 0.8198 MB / 0.4917 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3762, allocations: 1.182 MB / 0.4929 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.3791, allocations: 2.082 MB / 0.4949 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.3791, allocations: 4 kB / 0.4949 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004617/0.3838, allocations: 2.528 MB / 0.4974 GB, free: 8.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.3838, allocations: 11.94 kB / 0.4974 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.3838, allocations: 12 kB / 0.4974 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.3857, allocations: 479 kB / 0.4979 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.3871, allocations: 327.5 kB / 0.4982 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.393, allocations: 4.302 MB / 0.5024 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.3945, allocations: 79.92 kB / 0.5025 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.3946, allocations: 63.98 kB / 0.5025 GB, free: 3.184 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.001983/0.3966, allocations: 1.048 MB / 0.5036 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/0.3973, allocations: 206.7 kB / 0.5038 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.4012, allocations: 2.141 MB / 0.5058 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.4013, allocations: 19.98 kB / 0.5059 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4013, allocations: 4 kB / 0.5059 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.4013, allocations: 3.984 kB / 0.5059 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009913/0.4112, allocations: 5.146 MB / 0.5109 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.4112, allocations: 0 / 0.5109 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/0.4122, allocations: 231.6 kB / 0.5111 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.414, allocations: 464.9 kB / 0.5116 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4141, allocations: 39.97 kB / 0.5116 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/0.4196, allocations: 4.199 MB / 0.5157 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.4196, allocations: 11.94 kB / 0.5157 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.425, allocations: 3.252 MB / 0.5189 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.4261, allocations: 394.6 kB / 0.5193 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/0.4266, allocations: 24 kB / 0.5193 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.4278, allocations: 103.9 kB / 0.5194 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.428, allocations: 96.75 kB / 0.5195 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.4281, allocations: 47.98 kB / 0.5195 GB, free: 1.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00259/0.4307, allocations: 1.338 MB / 0.5208 GB, free: 184 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4307, allocations: 0 / 0.5208 GB, free: 184 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002171/0.4329, allocations: 0.5585 MB / 0.5214 GB, free: 15.62 MB / 446.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.00627/0.4392, allocations: 3.921 MB / 0.5252 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004017/0.4432, allocations: 2.133 MB / 0.5273 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4432, allocations: 0 / 0.5273 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4452, allocations: 1.156 MB / 0.5284 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.4479, allocations: 0.498 MB / 0.5289 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2379/0.6858, allocations: 20.63 MB / 0.5491 GB, free: 96.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.6873, allocations: 2.43 MB / 0.5514 GB, free: 95.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.6883, allocations: 494.4 kB / 0.5519 GB, free: 95.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/0.6893, allocations: 1.071 MB / 0.5529 GB, free: 94.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6893, allocations: 0 / 0.5529 GB, free: 94.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/0.7657, allocations: 53.58 MB / 0.6053 GB, free: 41.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.9, allocations: 8.062 kB / 0.6053 GB, free: 41.46 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.52545370097505]