Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001329/0.001329, allocations: 117 kB / 18.49 MB, free: 4.566 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.001402/0.001402, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.451/1.451, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 59.89 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 53.38 MB / 427.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.25/0.363, allocations: 28.72 MB / 455.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3802, allocations: 7.213 MB / 463 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006899/0.3871, allocations: 309.9 kB / 463.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02658/0.4137, allocations: 13.23 MB / 476.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.4262, allocations: 2.563 MB / 479.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.4331, allocations: 2.031 MB / 481.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02563/0.4587, allocations: 18.28 MB / 499.4 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06802/0.5267, allocations: 34.25 MB / 0.5211 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01854/0.5453, allocations: 10.13 MB / 0.531 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02046/0.5658, allocations: 11.12 MB / 0.5419 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007943/0.5737, allocations: 2.918 MB / 0.5447 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.5846, allocations: 3.203 MB / 0.5479 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0102/0.5948, allocations: 5.491 MB / 0.5532 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02075/0.6156, allocations: 10.82 MB / 0.5638 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05367/0.6692, allocations: 39.11 MB / 0.602 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.6692, allocations: 0 / 0.602 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6692, allocations: 0 / 0.602 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001259/0.6705, allocations: 0 / 0.602 GB, free: 13.78 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.07115/0.7416, allocations: 22.31 MB / 0.6238 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.7417, allocations: 8.031 kB / 0.6238 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0007822/0.7425, allocations: 0.5338 MB / 0.6243 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01218/0.7547, allocations: 2.966 MB / 0.6272 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.466/1.221, allocations: 8.238 MB / 0.6353 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/1.245, allocations: 11.69 MB / 0.6467 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001462/1.247, allocations: 1.347 MB / 0.648 GB, free: 127.2 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007594/1.254, allocations: 1.758 MB / 0.6497 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07598/1.33, allocations: 28.79 MB / 0.6778 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009995/1.331, allocations: 23.75 kB / 0.6778 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007384/1.339, allocations: 0.7257 MB / 0.6786 GB, free: 112.2 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009391/1.34, allocations: 0.8493 MB / 0.6794 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04843/1.388, allocations: 24.85 MB / 0.7036 GB, free: 88.47 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/1.516, allocations: 87.55 MB / 0.7891 GB, free: 200 kB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03646/1.552, allocations: 34.59 MB / 0.8229 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01084/1.563, allocations: 5.069 MB / 0.8279 GB, free: 5.238 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009867/1.564, allocations: 333.3 kB / 0.8282 GB, free: 4.906 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/1.564, allocations: 95.14 kB / 0.8283 GB, free: 4.801 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 7.364e-06/1.564, allocations: 0 / 0.8283 GB, free: 4.801 MB / 0.5607 GB Notification: Performance of matching and sorting (n=681): time 0.08928/1.653, allocations: 34.28 MB / 0.8618 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.653, allocations: 162.4 kB / 0.8619 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4403/2.094, allocations: 6.419 MB / 0.8682 GB, free: 191.8 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/2.095, allocations: 135 kB / 0.8683 GB, free: 191.8 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.005115/2.1, allocations: 7.902 MB / 0.876 GB, free: 188.8 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002745/2.102, allocations: 2.464 MB / 0.8784 GB, free: 186.9 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003849/2.106, allocations: 2.24 MB / 0.8806 GB, free: 185.9 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/2.106, allocations: 302.9 kB / 0.8809 GB, free: 185.6 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008713/2.115, allocations: 5.293 MB / 0.8861 GB, free: 183.6 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/2.128, allocations: 10.08 MB / 0.8959 GB, free: 175.5 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/2.146, allocations: 16.62 MB / 0.9122 GB, free: 163.8 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002998/2.146, allocations: 43.56 kB / 0.9122 GB, free: 163.8 MB / 0.592 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.0296/2.176, allocations: 17.52 MB / 0.9293 GB, free: 156.8 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/2.176, allocations: 79.94 kB / 0.9294 GB, free: 156.8 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000236/2.176, allocations: 162.5 kB / 0.9295 GB, free: 156.8 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009958/2.186, allocations: 3.114 MB / 0.9326 GB, free: 156.1 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008672/2.195, allocations: 2.403 MB / 0.9349 GB, free: 155.9 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/2.221, allocations: 23.43 MB / 0.9578 GB, free: 138.6 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009076/2.23, allocations: 0.6576 MB / 0.9584 GB, free: 138 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/2.232, allocations: 0.5661 MB / 0.959 GB, free: 137.5 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1262): * Single equations (assignments): 1258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,80.6%), (6,80,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01131/2.243, allocations: 7.268 MB / 0.9661 GB, free: 130.7 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/2.245, allocations: 0.6753 MB / 0.9668 GB, free: 130 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/2.261, allocations: 12.41 MB / 0.9789 GB, free: 117.5 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01233/2.273, allocations: 9.857 MB / 0.9885 GB, free: 107.6 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/2.273, allocations: 30.69 kB / 0.9885 GB, free: 107.6 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/2.273, allocations: 35.88 kB / 0.9886 GB, free: 107.5 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04487/2.318, allocations: 30.53 MB / 1.018 GB, free: 76.63 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/2.318, allocations: 8 kB / 1.018 GB, free: 76.62 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003977/2.322, allocations: 1.065 MB / 1.019 GB, free: 75.56 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008605/2.331, allocations: 2.873 MB / 1.022 GB, free: 72.68 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/2.332, allocations: 148 kB / 1.022 GB, free: 72.53 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/2.355, allocations: 21.73 MB / 1.044 GB, free: 50.54 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/2.355, allocations: 19.88 kB / 1.044 GB, free: 50.52 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/2.376, allocations: 17.26 MB / 1.06 GB, free: 32.91 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003784/2.38, allocations: 1.543 MB / 1.062 GB, free: 31.34 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/2.381, allocations: 135.9 kB / 1.062 GB, free: 31.21 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/2.385, allocations: 339.7 kB / 1.062 GB, free: 30.88 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/2.386, allocations: 0.4976 MB / 1.063 GB, free: 30.38 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003511/2.386, allocations: 200 kB / 1.063 GB, free: 30.18 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006242/2.393, allocations: 4.305 MB / 1.067 GB, free: 25.91 MB / 0.592 GB Notification: Performance of sort global known variables: time 3.41e-07/2.393, allocations: 0 / 1.067 GB, free: 25.91 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01255/2.405, allocations: 2.945 MB / 1.07 GB, free: 22.96 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (553): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,75.0%), (6,74,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2955/2.701, allocations: 18.06 MB / 1.088 GB, free: 174.6 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0243/2.725, allocations: 12.99 MB / 1.101 GB, free: 171.9 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.426e-05/2.725, allocations: 4.25 kB / 1.101 GB, free: 171.9 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.01096/2.736, allocations: 5.737 MB / 1.106 GB, free: 169.6 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0093/2.745, allocations: 1.593 MB / 1.108 GB, free: 169 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1509/2.896, allocations: 101.6 MB / 1.207 GB, free: 93.59 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02012/2.916, allocations: 11.51 MB / 1.218 GB, free: 82.03 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.009031/2.925, allocations: 3.811 MB / 1.222 GB, free: 78.21 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009703/2.935, allocations: 6.006 MB / 1.228 GB, free: 72.2 MB / 0.592 GB Notification: Performance of SimCode: time 1.563e-06/2.935, allocations: 0 / 1.228 GB, free: 72.2 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5833/3.518, allocations: 227.3 MB / 1.45 GB, free: 85.8 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 49.12/52.64, allocations: 6.109 kB / 1.45 GB, free: 85.8 MB / 0.6077 GB " [Timeout remaining time 607] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 55.89711647405056]