Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 115.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 208.7 kB / 23.72 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 377.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.272, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009242/0.2813, allocations: 6.932 MB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.2866, allocations: 2.613 MB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.2878, allocations: 87.38 kB / 440.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.2893, allocations: 0.5858 MB / 441.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.2915, allocations: 0.777 MB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2925, allocations: 435.3 kB / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003817/0.2963, allocations: 3.308 MB / 445.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.2989, allocations: 1.941 MB / 447.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.3019, allocations: 1.727 MB / 449.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.3053, allocations: 2.028 MB / 451.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008826/0.3062, allocations: 464 kB / 452 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.3077, allocations: 0.6441 MB / 452.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.309, allocations: 1.27 MB / 453.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0026/0.3116, allocations: 1.599 MB / 455.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007331/0.3189, allocations: 6.163 MB / 461.7 MB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.319, allocations: 0 / 461.7 MB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.319, allocations: 0 / 461.7 MB, free: 7.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001553/0.3191, allocations: 0 / 461.7 MB, free: 7.773 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.009289/0.3284, allocations: 3.832 MB / 465.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3284, allocations: 11.98 kB / 465.5 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006913/0.3291, allocations: 438 kB / 466 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3306, allocations: 442.5 kB / 466.4 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.335, allocations: 2.127 MB / 468.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.3352, allocations: 222.2 kB / 468.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004943/0.3357, allocations: 287.9 kB / 469 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007426/0.3431, allocations: 4.473 MB / 473.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/0.3432, allocations: 3.938 kB / 473.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.3435, allocations: 116 kB / 473.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3437, allocations: 157.9 kB / 473.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006392/0.3501, allocations: 3.501 MB / 477.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/0.3691, allocations: 9.74 MB / 487 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.3717, allocations: 1.652 MB / 488.7 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.3743, allocations: 1.407 MB / 490.1 MB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.3745, allocations: 44.95 kB / 490.1 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3745, allocations: 51.56 kB / 490.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.867e-06/0.3745, allocations: 3.938 kB / 490.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009854/0.3844, allocations: 5.132 MB / 495.3 MB, free: 5.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.3845, allocations: 94.41 kB / 495.4 MB, free: 5.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.3876, allocations: 1.941 MB / 497.3 MB, free: 3.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.3878, allocations: 45.7 kB / 497.4 MB, free: 3.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.3889, allocations: 1.365 MB / 498.7 MB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005573/0.3895, allocations: 479.9 kB / 499.2 MB, free: 1.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.39, allocations: 275.5 kB / 499.5 MB, free: 1.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3901, allocations: 305.1 kB / 499.8 MB, free: 1.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.3915, allocations: 0.8236 MB / 0.4889 GB, free: 344 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.3932, allocations: 1.2 MB / 0.49 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.3962, allocations: 2.09 MB / 0.4921 GB, free: 12.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.3962, allocations: 4 kB / 0.4921 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004603/0.4008, allocations: 2.524 MB / 0.4946 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4008, allocations: 8 kB / 0.4946 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.4009, allocations: 12 kB / 0.4946 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.4027, allocations: 479.1 kB / 0.495 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.404, allocations: 331.5 kB / 0.4953 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.4099, allocations: 4.231 MB / 0.4995 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4112, allocations: 83.86 kB / 0.4996 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4114, allocations: 56 kB / 0.4996 GB, free: 4.93 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.002235/0.4136, allocations: 1.067 MB / 0.5007 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/0.4143, allocations: 202.7 kB / 0.5008 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.4183, allocations: 2.133 MB / 0.5029 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/0.4183, allocations: 16 kB / 0.5029 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4184, allocations: 4 kB / 0.5029 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4184, allocations: 11.91 kB / 0.503 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009632/0.428, allocations: 4.893 MB / 0.5077 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.428, allocations: 0 / 0.5077 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.429, allocations: 231.6 kB / 0.508 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.4308, allocations: 452.5 kB / 0.5084 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.431, allocations: 35.98 kB / 0.5084 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/0.4368, allocations: 4.141 MB / 0.5125 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4369, allocations: 7.938 kB / 0.5125 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.4426, allocations: 3.253 MB / 0.5157 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.444, allocations: 390.6 kB / 0.516 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/0.4444, allocations: 27.98 kB / 0.516 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.4457, allocations: 95.95 kB / 0.5161 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.446, allocations: 108.6 kB / 0.5162 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.4461, allocations: 39.98 kB / 0.5163 GB, free: 3.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002697/0.4488, allocations: 1.346 MB / 0.5176 GB, free: 2.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4488, allocations: 4 kB / 0.5176 GB, free: 2.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002192/0.451, allocations: 0.5546 MB / 0.5181 GB, free: 1.684 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.006559/0.4576, allocations: 3.93 MB / 0.522 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.4618, allocations: 2.121 MB / 0.5241 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4618, allocations: 0.75 kB / 0.5241 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.4639, allocations: 1.152 MB / 0.5252 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.4668, allocations: 0.5125 MB / 0.5257 GB, free: 9.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.241/0.7077, allocations: 20.62 MB / 0.5458 GB, free: 97.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.7096, allocations: 1.878 MB / 0.5477 GB, free: 96.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001653/0.7113, allocations: 0.4892 MB / 0.5481 GB, free: 96.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.7126, allocations: 1.075 MB / 0.5492 GB, free: 96.04 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.7126, allocations: 0 / 0.5492 GB, free: 96.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08678/0.7994, allocations: 55.58 MB / 0.6035 GB, free: 41.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.28, allocations: 7.938 kB / 0.6035 GB, free: 41.61 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 16.923162162303925]