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.001287/0.001287, allocations: 112 kB / 20.43 MB, free: 1.309 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.001324/0.001324, allocations: 189.3 kB / 23.72 MB, free: 4.559 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.404/1.404, allocations: 225.6 MB / 252.5 MB, free: 13.04 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="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 0.001646/0.001646, allocations: 51.92 kB / 370.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2608, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01107/0.2718, allocations: 7.838 MB / 430.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.2777, allocations: 2.66 MB / 433.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.2794, allocations: 95.31 kB / 433.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.2814, allocations: 0.583 MB / 433.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.2841, allocations: 0.7731 MB / 434.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.2854, allocations: 423.4 kB / 435 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.2899, allocations: 3.288 MB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.2935, allocations: 2.007 MB / 440.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.297, allocations: 1.698 MB / 442 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/0.3007, allocations: 2.079 MB / 444.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.3019, allocations: 463.9 kB / 444.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.3039, allocations: 0.7494 MB / 445.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.306, allocations: 1.255 MB / 446.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00387/0.3099, allocations: 1.976 MB / 448.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00877/0.3186, allocations: 6.112 MB / 454.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3186, allocations: 4 kB / 454.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3186, allocations: 0 / 454.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.3189, allocations: 3.984 kB / 454.6 MB, free: 14.46 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.01081/0.3297, allocations: 3.805 MB / 458.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3297, allocations: 12.03 kB / 458.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/0.3308, allocations: 429.9 kB / 458.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.3323, allocations: 418.5 kB / 459.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.3367, allocations: 2.099 MB / 461.4 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.3369, allocations: 221.8 kB / 461.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.3375, allocations: 284 kB / 461.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007299/0.3448, allocations: 4.191 MB / 466.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/0.3449, allocations: 0 / 466.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.3451, allocations: 124 kB / 466.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.3453, allocations: 141.9 kB / 466.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005996/0.3513, allocations: 3.49 MB / 469.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.3706, allocations: 10.67 MB / 480.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.3733, allocations: 1.651 MB / 482.1 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.3759, allocations: 1.411 MB / 483.5 MB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.3761, allocations: 44.95 kB / 483.6 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.3762, allocations: 51.56 kB / 483.6 MB, free: 1.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.128e-06/0.3762, allocations: 0 / 483.6 MB, free: 1.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009774/0.386, allocations: 5.136 MB / 488.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.386, allocations: 90.42 kB / 488.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.389, allocations: 1.906 MB / 490.8 MB, free: 9.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.3891, allocations: 49.7 kB / 490.8 MB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.3902, allocations: 1.353 MB / 492.2 MB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.3906, allocations: 483.9 kB / 492.6 MB, free: 7.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.391, allocations: 271.5 kB / 492.9 MB, free: 7.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3911, allocations: 305.1 kB / 493.2 MB, free: 7.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.3924, allocations: 0.8159 MB / 494 MB, free: 6.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3939, allocations: 1.186 MB / 495.2 MB, free: 5.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.3968, allocations: 2.075 MB / 497.3 MB, free: 3.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.3968, allocations: 8 kB / 497.3 MB, free: 3.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004465/0.4013, allocations: 2.524 MB / 499.8 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.4013, allocations: 12.03 kB / 499.8 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.4014, allocations: 12 kB / 499.8 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.4033, allocations: 480.1 kB / 0.4886 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4047, allocations: 327.6 kB / 0.4889 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/0.4103, allocations: 4.296 MB / 0.4931 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4117, allocations: 87.98 kB / 0.4932 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.4119, allocations: 59.98 kB / 0.4932 GB, free: 11.16 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.001903/0.4138, allocations: 1.04 MB / 0.4942 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.4143, allocations: 202.8 kB / 0.4944 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/0.4181, allocations: 2.141 MB / 0.4965 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.4182, allocations: 16 kB / 0.4965 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4182, allocations: 4 kB / 0.4965 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.4182, allocations: 11.97 kB / 0.4966 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009483/0.4277, allocations: 5.138 MB / 0.5016 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4277, allocations: 4 kB / 0.5016 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.4287, allocations: 235.6 kB / 0.5018 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.4306, allocations: 453 kB / 0.5022 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4307, allocations: 39.97 kB / 0.5023 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00551/0.4362, allocations: 4.192 MB / 0.5064 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4362, allocations: 0 / 0.5064 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.4416, allocations: 3.256 MB / 0.5095 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.4428, allocations: 394.7 kB / 0.5099 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/0.4432, allocations: 31.98 kB / 0.51 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4442, allocations: 99.94 kB / 0.51 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.4444, allocations: 96.75 kB / 0.5101 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.4445, allocations: 43.98 kB / 0.5102 GB, free: 9.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002088/0.4466, allocations: 1.338 MB / 0.5115 GB, free: 8.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4466, allocations: 0 / 0.5115 GB, free: 8.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001912/0.4485, allocations: 0.5584 MB / 0.512 GB, free: 7.625 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.005948/0.4544, allocations: 3.941 MB / 0.5159 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.4581, allocations: 2.118 MB / 0.5179 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4581, allocations: 0 / 0.5179 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.4601, allocations: 1.156 MB / 0.5191 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.4624, allocations: 0.5144 MB / 0.5196 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2447/0.7072, allocations: 20.57 MB / 0.5397 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.7088, allocations: 2.427 MB / 0.542 GB, free: 105.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001262/0.7101, allocations: 496.3 kB / 0.5425 GB, free: 105.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.7111, allocations: 1.068 MB / 0.5436 GB, free: 104.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7111, allocations: 0 / 0.5436 GB, free: 104.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.816, allocations: 53.5 MB / 0.5958 GB, free: 55.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.67, allocations: 14.56 kB / 0.5958 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.23995601106435]