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.001638/0.001638, allocations: 103.9 kB / 21.21 MB, free: 0.6289 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.002172/0.002172, allocations: 188.8 kB / 24.49 MB, free: 3.941 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.355/1.355, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001454/0.001454, allocations: 47.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2453, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009084/0.2544, allocations: 6.895 MB / 430.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005254/0.2597, allocations: 2.524 MB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008919/0.2606, allocations: 87.38 kB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.2618, allocations: 0.5781 MB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.2637, allocations: 0.7692 MB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.2645, allocations: 423.4 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.2681, allocations: 3.28 MB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.2707, allocations: 2.011 MB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.2736, allocations: 1.707 MB / 441.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.2767, allocations: 2.083 MB / 443.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006662/0.2773, allocations: 464 kB / 444.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2785, allocations: 0.6675 MB / 444.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.2797, allocations: 1.258 MB / 446.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.2817, allocations: 1.591 MB / 447.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006264/0.2879, allocations: 6.136 MB / 453.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2879, allocations: 0 / 453.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2879, allocations: 0 / 453.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.2881, allocations: 0 / 453.8 MB, free: 15.79 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.00806/0.2961, allocations: 3.809 MB / 457.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.2962, allocations: 12.03 kB / 457.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.812e-05/0.2963, allocations: 74.03 kB / 457.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006039/0.2969, allocations: 429.9 kB / 458.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.2979, allocations: 414.5 kB / 458.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.3016, allocations: 2.107 MB / 460.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.3018, allocations: 221.8 kB / 460.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.3023, allocations: 284 kB / 461.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007526/0.3098, allocations: 4.434 MB / 465.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/0.3098, allocations: 3.984 kB / 465.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.3101, allocations: 124 kB / 465.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.3103, allocations: 145.8 kB / 465.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005818/0.3161, allocations: 3.49 MB / 469.3 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.3332, allocations: 9.7 MB / 479 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.3356, allocations: 1.636 MB / 480.7 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.3379, allocations: 1.407 MB / 482.1 MB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.3381, allocations: 48.97 kB / 482.1 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.3381, allocations: 43.56 kB / 482.2 MB, free: 3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.817e-06/0.3382, allocations: 0 / 482.2 MB, free: 3 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008869/0.347, allocations: 5.125 MB / 487.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3471, allocations: 98.41 kB / 487.4 MB, free: 13.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.3497, allocations: 1.909 MB / 489.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3498, allocations: 53.69 kB / 489.3 MB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3508, allocations: 1.353 MB / 490.7 MB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.3512, allocations: 475.9 kB / 491.2 MB, free: 9.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.3517, allocations: 275.5 kB / 491.4 MB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3518, allocations: 305.1 kB / 491.7 MB, free: 9.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.3531, allocations: 0.8198 MB / 492.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.3546, allocations: 1.207 MB / 493.8 MB, free: 7.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.3574, allocations: 2.086 MB / 495.8 MB, free: 4.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3575, allocations: 4 kB / 495.8 MB, free: 4.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004271/0.3617, allocations: 2.524 MB / 498.4 MB, free: 2.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3618, allocations: 15.94 kB / 498.4 MB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.3618, allocations: 8 kB / 498.4 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.3637, allocations: 480.3 kB / 498.9 MB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.365, allocations: 327.5 kB / 499.2 MB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.3705, allocations: 4.234 MB / 0.4916 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.3719, allocations: 87.98 kB / 0.4917 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.372, allocations: 67.97 kB / 0.4918 GB, free: 13.09 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.001858/0.3739, allocations: 1.044 MB / 0.4928 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.3743, allocations: 194.8 kB / 0.493 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.3779, allocations: 2.137 MB / 0.4951 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.378, allocations: 20 kB / 0.4951 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.378, allocations: 4 kB / 0.4951 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.378, allocations: 11.97 kB / 0.4951 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008258/0.3862, allocations: 4.873 MB / 0.4999 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3862, allocations: 0 / 0.4999 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/0.3872, allocations: 227.9 kB / 0.5001 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.3891, allocations: 456.7 kB / 0.5005 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.3891, allocations: 35.98 kB / 0.5005 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.3944, allocations: 4.138 MB / 0.5046 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3944, allocations: 3.938 kB / 0.5046 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005071/0.3994, allocations: 3.26 MB / 0.5078 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009648/0.4004, allocations: 390.7 kB / 0.5081 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.4007, allocations: 32 kB / 0.5082 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.4016, allocations: 95.95 kB / 0.5083 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.4019, allocations: 104.7 kB / 0.5084 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/0.402, allocations: 39.98 kB / 0.5084 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.4039, allocations: 1.33 MB / 0.5097 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4039, allocations: 0 / 0.5097 GB, free: 10.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001689/0.4056, allocations: 0.5663 MB / 0.5103 GB, free: 9.895 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.005626/0.4112, allocations: 3.936 MB / 0.5141 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4149, allocations: 2.114 MB / 0.5162 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.4149, allocations: 0 / 0.5162 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.4168, allocations: 1.16 MB / 0.5173 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.4191, allocations: 0.5087 MB / 0.5178 GB, free: 2.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2385/0.6576, allocations: 20.57 MB / 0.5379 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.6595, allocations: 1.872 MB / 0.5397 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00138/0.6608, allocations: 494.2 kB / 0.5402 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.6619, allocations: 1.061 MB / 0.5412 GB, free: 106.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6619, allocations: 3.656 kB / 0.5412 GB, free: 106.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07979/0.7417, allocations: 55.5 MB / 0.5954 GB, free: 56.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.13, allocations: 8.578 kB / 0.5954 GB, free: 56.6 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.774940164061263]