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.001762/0.001762, allocations: 108.6 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.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.00141/0.00141, allocations: 195.7 kB / 24.5 MB, free: 4.008 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.346/1.346, allocations: 225.6 MB / 253.3 MB, free: 13.07 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 43.94 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2573, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009632/0.2669, allocations: 7.847 MB / 431.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.2722, allocations: 2.668 MB / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.2735, allocations: 87.38 kB / 434 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.2749, allocations: 0.5781 MB / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.277, allocations: 0.7731 MB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.2779, allocations: 427.3 kB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.2817, allocations: 3.292 MB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.2844, allocations: 2.007 MB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.2877, allocations: 1.69 MB / 442.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.291, allocations: 2.087 MB / 444.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000626/0.2916, allocations: 460 kB / 445.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2929, allocations: 0.7494 MB / 446.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.2942, allocations: 1.262 MB / 447.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.2971, allocations: 1.968 MB / 449.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007061/0.3041, allocations: 6.12 MB / 455.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3041, allocations: 0 / 455.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3042, allocations: 0 / 455.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001696/0.3043, allocations: 0 / 455.4 MB, free: 14.45 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.008216/0.3125, allocations: 3.809 MB / 459.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3126, allocations: 12.03 kB / 459.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.553e-05/0.3127, allocations: 78.03 kB / 459.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005636/0.3132, allocations: 433.9 kB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.3142, allocations: 406.6 kB / 460.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/0.318, allocations: 2.107 MB / 462.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.3182, allocations: 221.8 kB / 462.5 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/0.3186, allocations: 280 kB / 462.7 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006649/0.3253, allocations: 4.191 MB / 466.9 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.3253, allocations: 0 / 466.9 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.3256, allocations: 120 kB / 467 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.3258, allocations: 141.9 kB / 467.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.3315, allocations: 3.486 MB / 470.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.3499, allocations: 10.67 MB / 481.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.3525, allocations: 1.651 MB / 483 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.3549, allocations: 1.407 MB / 484.4 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3552, allocations: 56.89 kB / 484.4 MB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.3552, allocations: 47.56 kB / 484.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.567e-06/0.3552, allocations: 0 / 484.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.0106/0.3658, allocations: 5.125 MB / 489.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.3659, allocations: 94.42 kB / 489.7 MB, free: 11.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.3693, allocations: 1.917 MB / 491.6 MB, free: 9.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.3695, allocations: 45.7 kB / 491.7 MB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.3706, allocations: 1.349 MB / 493 MB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.371, allocations: 483.8 kB / 493.5 MB, free: 7.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.3715, allocations: 271.5 kB / 493.8 MB, free: 7.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3717, allocations: 305.1 kB / 494.1 MB, free: 7.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.373, allocations: 0.8198 MB / 494.9 MB, free: 6.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.3746, allocations: 1.178 MB / 496.1 MB, free: 5.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.3776, allocations: 2.086 MB / 498.1 MB, free: 2.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.3776, allocations: 4 kB / 498.1 MB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004407/0.382, allocations: 2.524 MB / 0.4889 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.3821, allocations: 8 kB / 0.4889 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.3821, allocations: 12 kB / 0.489 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.3839, allocations: 484.3 kB / 0.4894 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3852, allocations: 323.5 kB / 0.4897 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.3909, allocations: 4.312 MB / 0.4939 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3921, allocations: 79.92 kB / 0.494 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.3923, allocations: 63.94 kB / 0.4941 GB, free: 11.07 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.001691/0.394, allocations: 1.048 MB / 0.4951 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/0.3945, allocations: 198.8 kB / 0.4953 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.3983, allocations: 2.137 MB / 0.4974 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.3983, allocations: 19.98 kB / 0.4974 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3983, allocations: 4 kB / 0.4974 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.3983, allocations: 3.984 kB / 0.4974 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009694/0.408, allocations: 5.142 MB / 0.5024 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.408, allocations: 4 kB / 0.5024 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009932/0.409, allocations: 227.9 kB / 0.5026 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.4108, allocations: 456.8 kB / 0.5031 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4109, allocations: 35.98 kB / 0.5031 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/0.4165, allocations: 4.192 MB / 0.5072 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.4165, allocations: 7.969 kB / 0.5072 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.4219, allocations: 3.26 MB / 0.5104 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.4231, allocations: 394.7 kB / 0.5108 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.4236, allocations: 31.98 kB / 0.5108 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.4248, allocations: 91.91 kB / 0.5109 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.425, allocations: 112.7 kB / 0.511 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.4252, allocations: 36 kB / 0.511 GB, free: 9.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002482/0.4276, allocations: 1.338 MB / 0.5123 GB, free: 8.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4276, allocations: 0 / 0.5123 GB, free: 8.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002083/0.4297, allocations: 0.5585 MB / 0.5129 GB, free: 7.531 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.006498/0.4362, allocations: 3.933 MB / 0.5167 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.4402, allocations: 2.117 MB / 0.5188 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.4402, allocations: 4 kB / 0.5188 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.4422, allocations: 1.157 MB / 0.5199 GB, free: 252 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.4449, allocations: 0.5095 MB / 0.5204 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2214/0.6663, allocations: 20.58 MB / 0.5405 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.6679, allocations: 2.423 MB / 0.5429 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001135/0.669, allocations: 496 kB / 0.5434 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.67, allocations: 1.065 MB / 0.5444 GB, free: 104.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.67, allocations: 0 / 0.5444 GB, free: 104.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07822/0.7482, allocations: 53.54 MB / 0.5967 GB, free: 55.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.33, allocations: 14.44 kB / 0.5967 GB, free: 55.92 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.0210612170049]