Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001523/0.001523, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 72.27 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09491, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.181/0.2759, allocations: 28.6 MB / 387 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.2905, allocations: 7.201 MB / 394.2 MB, free: 412 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006339/0.2969, allocations: 259 kB / 394.5 MB, free: 364 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03049/0.3274, allocations: 13.1 MB / 407.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.3394, allocations: 2.53 MB / 410.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007317/0.3467, allocations: 2.036 MB / 412.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02504/0.3718, allocations: 18.14 MB / 430.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07947/0.4513, allocations: 44.63 MB / 474.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01756/0.4689, allocations: 9.901 MB / 484.8 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01818/0.4871, allocations: 11.07 MB / 495.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007567/0.4947, allocations: 2.918 MB / 498.8 MB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.5055, allocations: 3.203 MB / 0.4903 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009099/0.5147, allocations: 5.476 MB / 0.4956 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01978/0.5345, allocations: 10.82 MB / 0.5062 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3811/0.9156, allocations: 38.79 MB / 0.5441 GB, free: 83.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.9156, allocations: 1.125 kB / 0.5441 GB, free: 83.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.9157, allocations: 0 / 0.5441 GB, free: 83.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009516/0.9166, allocations: 0 / 0.5441 GB, free: 83.15 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.0656/0.9822, allocations: 21.93 MB / 0.5655 GB, free: 73.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.9823, allocations: 14.88 kB / 0.5655 GB, free: 73.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04365/1.026, allocations: 8.354 MB / 0.5737 GB, free: 70.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/1.054, allocations: 11.27 MB / 0.5847 GB, free: 61.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001265/1.055, allocations: 1.341 MB / 0.586 GB, free: 60.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009035/1.064, allocations: 1.75 MB / 0.5877 GB, free: 58.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07437/1.138, allocations: 28.71 MB / 0.6157 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007315/1.139, allocations: 23.8 kB / 0.6157 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006064/1.145, allocations: 0.7239 MB / 0.6165 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006867/1.146, allocations: 0.8493 MB / 0.6173 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04437/1.19, allocations: 24.78 MB / 0.6415 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3905/1.581, allocations: 88.41 MB / 0.7278 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02652/1.607, allocations: 35.12 MB / 0.7621 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008136/1.616, allocations: 5.292 MB / 0.7673 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/1.616, allocations: 287.6 kB / 0.7676 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/1.616, allocations: 99.92 kB / 0.7676 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=577): time 8.506e-06/1.616, allocations: 3.984 kB / 0.7676 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=577): time 0.03338/1.65, allocations: 14.73 MB / 0.782 GB, free: 132.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/1.65, allocations: 141.7 kB / 0.7822 GB, free: 132.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.662, allocations: 6.412 MB / 0.7884 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/1.663, allocations: 121.1 kB / 0.7885 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005344/1.668, allocations: 7.603 MB / 0.796 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002573/1.671, allocations: 2.015 MB / 0.7979 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003838/1.675, allocations: 2.092 MB / 0.8 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/1.675, allocations: 306.6 kB / 0.8003 GB, free: 123 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00684/1.682, allocations: 4.74 MB / 0.8049 GB, free: 121.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009535/1.691, allocations: 9.469 MB / 0.8142 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/1.707, allocations: 15.3 MB / 0.8291 GB, free: 98.79 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/1.707, allocations: 44.88 kB / 0.8291 GB, free: 98.75 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02585/1.733, allocations: 15.38 MB / 0.8442 GB, free: 83.29 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.733, allocations: 72.56 kB / 0.8442 GB, free: 83.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/1.734, allocations: 160 kB / 0.8444 GB, free: 83.06 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005053/1.739, allocations: 1.672 MB / 0.846 GB, free: 81.38 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007871/1.747, allocations: 2.355 MB / 0.8483 GB, free: 79.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.76, allocations: 11.6 MB / 0.8596 GB, free: 67.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008231/1.768, allocations: 1.354 MB / 0.861 GB, free: 65.93 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.77, allocations: 0.5273 MB / 0.8615 GB, free: 65.41 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.01109/1.781, allocations: 7.145 MB / 0.8684 GB, free: 58.24 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/1.782, allocations: 0.6056 MB / 0.869 GB, free: 57.63 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.796, allocations: 10.11 MB / 0.8789 GB, free: 47.41 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01025/1.806, allocations: 7.765 MB / 0.8865 GB, free: 39.55 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/1.806, allocations: 12 kB / 0.8865 GB, free: 39.54 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.326e-05/1.806, allocations: 31.88 kB / 0.8865 GB, free: 39.51 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04594/1.852, allocations: 26.22 MB / 0.9121 GB, free: 12.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/1.852, allocations: 8 kB / 0.9121 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004099/1.856, allocations: 1.014 MB / 0.9131 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004976/1.861, allocations: 1.477 MB / 0.9146 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009716/1.862, allocations: 124 kB / 0.9147 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2152/2.078, allocations: 11.16 MB / 0.9256 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/2.078, allocations: 12.56 kB / 0.9256 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/2.099, allocations: 14.09 MB / 0.9394 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/2.102, allocations: 1.437 MB / 0.9408 GB, free: 162.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/2.103, allocations: 112.8 kB / 0.9409 GB, free: 162 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/2.106, allocations: 324.7 kB / 0.9412 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/2.107, allocations: 401 kB / 0.9416 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003611/2.108, allocations: 163.9 kB / 0.9417 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006017/2.114, allocations: 4.308 MB / 0.9459 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.213e-06/2.114, allocations: 0 / 0.9459 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01121/2.125, allocations: 4.036 MB / 0.9499 GB, free: 159 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 (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.001233/2.126, allocations: 330.8 kB / 0.9502 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.05094/2.177, allocations: 26.53 MB / 0.9761 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/2.177, allocations: 7.5 kB / 0.9761 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006769/2.184, allocations: 4.641 MB / 0.9806 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009747/2.194, allocations: 1.553 MB / 0.9822 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05573/2.249, allocations: 29.02 MB / 1.01 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01846/2.268, allocations: 10.9 MB / 1.021 GB, free: 104.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/2.271, allocations: 0.5802 MB / 1.022 GB, free: 104.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.313e-06/2.271, allocations: 0 / 1.022 GB, free: 104.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.5118/2.782, allocations: 280.9 MB / 1.296 GB, free: 9.27 MB / 0.5294 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches