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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001576, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 56.09 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08168/0.08285, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1708/0.2537, allocations: 28.6 MB / 387.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.2686, allocations: 7.197 MB / 394.7 MB, free: 300 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006259/0.2749, allocations: 267.4 kB / 395 MB, free: 244 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02734/0.3023, allocations: 13.1 MB / 408.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.3125, allocations: 2.528 MB / 410.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005851/0.3183, allocations: 2.036 MB / 412.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02168/0.34, allocations: 18.29 MB / 430.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06546/0.4055, allocations: 44.45 MB / 475.4 MB, free: 6.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.4194, allocations: 9.936 MB / 485.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01647/0.4359, allocations: 11.05 MB / 496.3 MB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006432/0.4423, allocations: 2.918 MB / 499.3 MB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008504/0.4509, allocations: 3.195 MB / 0.4907 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007292/0.4582, allocations: 5.483 MB / 0.496 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01785/0.476, allocations: 10.82 MB / 0.5066 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3883/0.8644, allocations: 39.01 MB / 0.5447 GB, free: 83.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8644, allocations: 0 / 0.5447 GB, free: 83.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8645, allocations: 1.188 kB / 0.5447 GB, free: 83.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001106/0.8656, allocations: 0 / 0.5447 GB, free: 83.4 MB / 446.1 MB 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.06767/0.9332, allocations: 21.94 MB / 0.5661 GB, free: 74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9333, allocations: 11.72 kB / 0.5661 GB, free: 74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04432/0.9776, allocations: 8.357 MB / 0.5743 GB, free: 70.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02691/1.005, allocations: 11.63 MB / 0.5857 GB, free: 61.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/1.006, allocations: 1.344 MB / 0.587 GB, free: 59.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007939/1.014, allocations: 1.748 MB / 0.5887 GB, free: 58.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06786/1.081, allocations: 28.71 MB / 0.6167 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007445/1.082, allocations: 27.45 kB / 0.6167 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006847/1.089, allocations: 0.7282 MB / 0.6174 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006691/1.09, allocations: 0.8454 MB / 0.6183 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04655/1.136, allocations: 24.78 MB / 0.6425 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3827/1.519, allocations: 87.26 MB / 0.7277 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/1.541, allocations: 35.11 MB / 0.762 GB, free: 102 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006524/1.547, allocations: 5.302 MB / 0.7672 GB, free: 101.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/1.548, allocations: 288.3 kB / 0.7674 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.548, allocations: 90.67 kB / 0.7675 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=577): time 6.852e-06/1.548, allocations: 2.375 kB / 0.7675 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=577): time 0.02946/1.577, allocations: 14.73 MB / 0.7819 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/1.577, allocations: 135.2 kB / 0.782 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00875/1.586, allocations: 6.419 MB / 0.7883 GB, free: 100.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008578/1.587, allocations: 117.9 kB / 0.7884 GB, free: 100.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00353/1.59, allocations: 7.615 MB / 0.7959 GB, free: 96.24 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.592, allocations: 2.015 MB / 0.7978 GB, free: 95.01 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002745/1.595, allocations: 2.084 MB / 0.7999 GB, free: 94.84 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.811e-05/1.595, allocations: 301.1 kB / 0.8001 GB, free: 94.55 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005567/1.601, allocations: 4.739 MB / 0.8048 GB, free: 94.29 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00756/1.608, allocations: 9.468 MB / 0.814 GB, free: 85.62 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.622, allocations: 15.31 MB / 0.829 GB, free: 68.66 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.622, allocations: 44 kB / 0.829 GB, free: 68.62 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01944/1.642, allocations: 15.37 MB / 0.844 GB, free: 54.14 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/1.642, allocations: 72 kB / 0.8441 GB, free: 54.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/1.642, allocations: 167.9 kB / 0.8443 GB, free: 53.91 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/1.647, allocations: 1.653 MB / 0.8459 GB, free: 52.25 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007047/1.654, allocations: 2.358 MB / 0.8482 GB, free: 50.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.667, allocations: 11.58 MB / 0.8595 GB, free: 38.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007564/1.675, allocations: 1.343 MB / 0.8608 GB, free: 37.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/1.676, allocations: 0.5312 MB / 0.8613 GB, free: 36.56 MB / 0.5138 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009614/1.686, allocations: 7.141 MB / 0.8683 GB, free: 29.59 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.687, allocations: 0.6133 MB / 0.8689 GB, free: 28.96 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.7, allocations: 10.11 MB / 0.8788 GB, free: 18.79 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009113/1.709, allocations: 7.758 MB / 0.8863 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.709, allocations: 12 kB / 0.8864 GB, free: 10.97 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/1.709, allocations: 31.88 kB / 0.8864 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04352/1.753, allocations: 25.69 MB / 0.9115 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/1.753, allocations: 11.94 kB / 0.9115 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/1.757, allocations: 1.008 MB / 0.9125 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005106/1.762, allocations: 1.469 MB / 0.9139 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/1.762, allocations: 124 kB / 0.914 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/1.777, allocations: 11.13 MB / 0.9249 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-05/1.777, allocations: 15.66 kB / 0.9249 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2321/2.009, allocations: 14.1 MB / 0.9387 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003814/2.013, allocations: 1.438 MB / 0.9401 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/2.014, allocations: 106.8 kB / 0.9402 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/2.017, allocations: 325.2 kB / 0.9405 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/2.018, allocations: 401.7 kB / 0.9409 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/2.018, allocations: 169.3 kB / 0.941 GB, free: 171.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005172/2.023, allocations: 4.303 MB / 0.9452 GB, free: 169.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/2.023, allocations: 0 / 0.9452 GB, free: 169.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009348/2.032, allocations: 4.034 MB / 0.9492 GB, free: 168.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007647/2.033, allocations: 312.6 kB / 0.9495 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01358/2.047, allocations: 11.37 MB / 0.9606 GB, free: 164.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.047, allocations: 2.188 kB / 0.9606 GB, free: 164.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005731/2.053, allocations: 4.644 MB / 0.9651 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006381/2.059, allocations: 1.571 MB / 0.9667 GB, free: 162.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/2.102, allocations: 29.29 MB / 0.9953 GB, free: 137.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01412/2.116, allocations: 11.25 MB / 1.006 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009914/2.126, allocations: 3.772 MB / 1.01 GB, free: 126.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/2.128, allocations: 0.5172 MB / 1.01 GB, free: 125.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.31e-07/2.128, allocations: 0 / 1.01 GB, free: 125.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1384/2.266, allocations: 94.71 MB / 1.103 GB, free: 31.98 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (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 & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches