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.001631/0.001637, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 247.1 MB, free: 9.066 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 60.38 kB / 307.1 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1019, allocations: 50.53 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2061/0.3081, allocations: 28.05 MB / 385.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.3231, allocations: 7.107 MB / 392.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007088/0.3303, allocations: 252.8 kB / 393.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02854/0.3589, allocations: 12.45 MB / 405.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3699, allocations: 2.234 MB / 407.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006727/0.3767, allocations: 1.885 MB / 409.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02371/0.4004, allocations: 18.13 MB / 427.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08339/0.4838, allocations: 51.64 MB / 479.4 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.5006, allocations: 10.07 MB / 489.5 MB, free: 8.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01801/0.5186, allocations: 11.15 MB / 0.4889 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007694/0.5264, allocations: 2.918 MB / 0.4918 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.5367, allocations: 3.195 MB / 0.4949 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009353/0.5461, allocations: 5.507 MB / 0.5003 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02062/0.5668, allocations: 10.83 MB / 0.5108 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3941/0.961, allocations: 34.43 MB / 0.5445 GB, free: 86.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.961, allocations: 0 / 0.5445 GB, free: 86.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.961, allocations: 3.797 kB / 0.5445 GB, free: 86.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001072/0.9621, allocations: 0 / 0.5445 GB, free: 86.53 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.0626/1.025, allocations: 22.05 MB / 0.566 GB, free: 75.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/1.025, allocations: 7.688 kB / 0.566 GB, free: 75.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04335/1.068, allocations: 8.151 MB / 0.574 GB, free: 72.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02114/1.089, allocations: 11.29 MB / 0.585 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/1.09, allocations: 1.333 MB / 0.5863 GB, free: 62.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007381/1.098, allocations: 1.743 MB / 0.588 GB, free: 60.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07305/1.171, allocations: 28.82 MB / 0.6161 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008439/1.172, allocations: 23.8 kB / 0.6162 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008882/1.181, allocations: 0.7244 MB / 0.6169 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007433/1.181, allocations: 0.8609 MB / 0.6177 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05236/1.234, allocations: 24.87 MB / 0.642 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3735/1.607, allocations: 88.44 MB / 0.7284 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02913/1.636, allocations: 35.23 MB / 0.7628 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008573/1.645, allocations: 5.389 MB / 0.768 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/1.646, allocations: 327.4 kB / 0.7683 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/1.646, allocations: 99.97 kB / 0.7684 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=589): time 8.797e-06/1.646, allocations: 0 / 0.7684 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.03306/1.679, allocations: 14.85 MB / 0.7829 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.679, allocations: 138.1 kB / 0.7831 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.689, allocations: 6.415 MB / 0.7893 GB, free: 123.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/1.691, allocations: 119.7 kB / 0.7894 GB, free: 123.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004889/1.695, allocations: 7.599 MB / 0.7969 GB, free: 119 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003002/1.698, allocations: 2.047 MB / 0.7989 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003584/1.702, allocations: 2.117 MB / 0.8009 GB, free: 117.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/1.702, allocations: 304.8 kB / 0.8012 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006532/1.709, allocations: 4.825 MB / 0.8059 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009413/1.718, allocations: 9.551 MB / 0.8153 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/1.736, allocations: 15.49 MB / 0.8304 GB, free: 96.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/1.736, allocations: 44 kB / 0.8304 GB, free: 96.86 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.0266/1.763, allocations: 15.59 MB / 0.8457 GB, free: 81.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.763, allocations: 72 kB / 0.8457 GB, free: 81.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002724/1.764, allocations: 160 kB / 0.8459 GB, free: 80.96 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/1.769, allocations: 1.669 MB / 0.8475 GB, free: 79.29 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008173/1.777, allocations: 2.371 MB / 0.8498 GB, free: 76.92 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/1.79, allocations: 11.59 MB / 0.8611 GB, free: 65.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007875/1.798, allocations: 1.343 MB / 0.8624 GB, free: 63.84 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/1.8, allocations: 0.539 MB / 0.863 GB, free: 63.3 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01225/1.812, allocations: 7.145 MB / 0.87 GB, free: 56.14 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.814, allocations: 0.6133 MB / 0.8706 GB, free: 55.52 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.828, allocations: 10.29 MB / 0.8806 GB, free: 45.12 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01057/1.839, allocations: 7.97 MB / 0.8884 GB, free: 37.06 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/1.839, allocations: 12.88 kB / 0.8884 GB, free: 37.05 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.973e-05/1.839, allocations: 27.89 kB / 0.8884 GB, free: 37.02 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04685/1.886, allocations: 26.52 MB / 0.9143 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/1.886, allocations: 8 kB / 0.9143 GB, free: 10 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004219/1.89, allocations: 1.03 MB / 0.9153 GB, free: 8.969 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005159/1.895, allocations: 1.469 MB / 0.9168 GB, free: 7.496 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009962/1.896, allocations: 138.5 kB / 0.9169 GB, free: 7.363 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2403/2.136, allocations: 11.15 MB / 0.9278 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/2.136, allocations: 13.44 kB / 0.9278 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/2.159, allocations: 14.43 MB / 0.9419 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/2.162, allocations: 1.457 MB / 0.9433 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009753/2.163, allocations: 110.9 kB / 0.9434 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/2.166, allocations: 320.5 kB / 0.9437 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007814/2.167, allocations: 404.5 kB / 0.9441 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003326/2.167, allocations: 179.6 kB / 0.9443 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005581/2.173, allocations: 4.309 MB / 0.9485 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.21e-07/2.173, allocations: 0 / 0.9485 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01034/2.183, allocations: 4.033 MB / 0.9524 GB, free: 156.5 MB / 0.5138 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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001173/2.184, allocations: 330.4 kB / 0.9527 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.05387/2.238, allocations: 27.3 MB / 0.9794 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.238, allocations: 7.5 kB / 0.9794 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00658/2.245, allocations: 4.748 MB / 0.9841 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008024/2.253, allocations: 1.565 MB / 0.9856 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04727/2.3, allocations: 36.08 MB / 1.021 GB, free: 102.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/2.315, allocations: 10.91 MB / 1.031 GB, free: 94.11 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/2.317, allocations: 0.6219 MB / 1.032 GB, free: 93.52 MB / 0.5138 GB Notification: Performance of SimCode: time 9.82e-07/2.317, allocations: 0 / 1.032 GB, free: 93.52 MB / 0.5138 GB Notification: Performance of Templates: time 0.7117/3.029, allocations: 282 MB / 1.308 GB, free: 168.9 MB / 0.5294 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 -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.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) Reference file matches