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.0007172/0.0007172, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007615/0.0007615, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9003/0.9003, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 4 kB / 318.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.649e-05, allocations: 2.281 kB / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005836/0.005852, allocations: 6.895 MB / 325.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.009033, allocations: 2.551 MB / 327.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.009458, allocations: 87.38 kB / 328 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.01032, allocations: 0.5819 MB / 328.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.01143, allocations: 0.7878 MB / 329.3 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.01199, allocations: 427.2 kB / 329.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.01414, allocations: 3.404 MB / 333.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.01591, allocations: 1.953 MB / 335.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.01856, allocations: 2.461 MB / 337.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.02036, allocations: 1.836 MB / 339.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.02073, allocations: 464 kB / 339.9 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.0214, allocations: 0.6479 MB / 340.5 MB, free: 36 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.02212, allocations: 1.29 MB / 341.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009219/0.02304, allocations: 1.357 MB / 343.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.02705, allocations: 6.19 MB / 349.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.02706, allocations: 0 / 349.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02706, allocations: 0 / 349.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.02709, allocations: 0 / 349.3 MB, free: 7.172 MB / 314.7 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.004146/0.03124, allocations: 3.781 MB / 353.1 MB, free: 3.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.03127, allocations: 8.922 kB / 353.1 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003644/0.03164, allocations: 433.9 kB / 353.6 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.03216, allocations: 410.6 kB / 354 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.03434, allocations: 2.095 MB / 356.1 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.03445, allocations: 218.2 kB / 356.3 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.03475, allocations: 288.2 kB / 356.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/0.03919, allocations: 4.445 MB / 361 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.03923, allocations: 0 / 361 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.03941, allocations: 120 kB / 361.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.03951, allocations: 145.9 kB / 361.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.04312, allocations: 3.486 MB / 364.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00995/0.05307, allocations: 9.715 MB / 374.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.05462, allocations: 1.64 MB / 376.1 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.05606, allocations: 1.407 MB / 377.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.0562, allocations: 56.95 kB / 377.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.05623, allocations: 47.5 kB / 377.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.455e-06/0.05623, allocations: 0 / 377.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005409/0.06164, allocations: 5.121 MB / 382.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.06168, allocations: 94.42 kB / 382.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.0633, allocations: 1.929 MB / 384.8 MB, free: 3.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.06336, allocations: 45.7 kB / 384.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.06395, allocations: 1.361 MB / 386.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.06418, allocations: 472 kB / 386.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.06444, allocations: 271.5 kB / 386.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.06451, allocations: 301.1 kB / 387.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008026/0.06531, allocations: 0.8159 MB / 388 MB, free: 4 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.06672, allocations: 1.204 MB / 389.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.0685, allocations: 2.09 MB / 391.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.06851, allocations: 4 kB / 391.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002515/0.07102, allocations: 2.524 MB / 393.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.07104, allocations: 12 kB / 393.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.07105, allocations: 8 kB / 393.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/0.07199, allocations: 475.1 kB / 394.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.07266, allocations: 335.5 kB / 394.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.07691, allocations: 4.24 MB / 398.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.07754, allocations: 79.88 kB / 398.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/0.07762, allocations: 68.06 kB / 399 MB, free: 4.57 MB / 362.7 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.0009413/0.07856, allocations: 1.052 MB / 400.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.07879, allocations: 198.8 kB / 400.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.08092, allocations: 2.129 MB / 402.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.08094, allocations: 19.98 kB / 402.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.08094, allocations: 4 kB / 402.4 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.08095, allocations: 3.984 kB / 402.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.08575, allocations: 4.873 MB / 407.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.08576, allocations: 0 / 407.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.08627, allocations: 231.6 kB / 407.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.08707, allocations: 460.5 kB / 408 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.08713, allocations: 27.98 kB / 408 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.09032, allocations: 4.141 MB / 412.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.09032, allocations: 4.031 kB / 412.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.09311, allocations: 3.256 MB / 415.4 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.09357, allocations: 394.6 kB / 415.8 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.09369, allocations: 31.98 kB / 415.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.09416, allocations: 91.91 kB / 415.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.09429, allocations: 100.8 kB / 416 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.09434, allocations: 40 kB / 416 MB, free: 3.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001332/0.09567, allocations: 1.338 MB / 417.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09567, allocations: 0 / 417.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008919/0.09656, allocations: 0.5546 MB / 417.9 MB, free: 1.387 MB / 378.7 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.003313/0.09988, allocations: 3.936 MB / 421.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.1019, allocations: 2.13 MB / 424 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1019, allocations: 4 kB / 424 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.1032, allocations: 1.148 MB / 425.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1044, allocations: 0.5178 MB / 425.7 MB, free: 9.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/0.1242, allocations: 20.62 MB / 446.3 MB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.1255, allocations: 1.864 MB / 448.1 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007159/0.1262, allocations: 491.4 kB / 448.6 MB, free: 2.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/0.127, allocations: 1.067 MB / 449.7 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.127, allocations: 0 / 449.7 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2287/0.3558, allocations: 55.44 MB / 0.4933 GB, free: 72.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.793, allocations: 0 / 0.4933 GB, free: 72.99 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 10.617034480907023]