Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 106.4 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 47.94 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.0869, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1952/0.2821, allocations: 29.57 MB / 404.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.3009, allocations: 7.423 MB / 412.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007831/0.3088, allocations: 219.1 kB / 412.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02992/0.3387, allocations: 13.17 MB / 425.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.3525, allocations: 3.043 MB / 428.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007036/0.3596, allocations: 1.9 MB / 430.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02476/0.3844, allocations: 18.92 MB / 449.4 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06956/0.454, allocations: 44.61 MB / 494 MB, free: 8.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0163/0.4703, allocations: 10.31 MB / 0.4925 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01734/0.4877, allocations: 11.54 MB / 0.5038 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006638/0.4944, allocations: 2.973 MB / 0.5067 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009031/0.5034, allocations: 3.222 MB / 0.5098 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008337/0.5118, allocations: 5.772 MB / 0.5155 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02192/0.5337, allocations: 11.21 MB / 0.5264 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4135/0.9472, allocations: 39.66 MB / 0.5651 GB, free: 85.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.9473, allocations: 0.9062 kB / 0.5651 GB, free: 85.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9473, allocations: 0 / 0.5651 GB, free: 85.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001041/0.9483, allocations: 0 / 0.5651 GB, free: 85.12 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.07032/1.019, allocations: 22.87 MB / 0.5875 GB, free: 76.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.019, allocations: 11.56 kB / 0.5875 GB, free: 76.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0662/1.085, allocations: 12.28 MB / 0.5995 GB, free: 70.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/1.108, allocations: 10.55 MB / 0.6098 GB, free: 61.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/1.109, allocations: 1.397 MB / 0.6111 GB, free: 60.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009268/1.118, allocations: 1.829 MB / 0.6129 GB, free: 58.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07771/1.196, allocations: 30.85 MB / 0.6431 GB, free: 27.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008034/1.197, allocations: 21.78 kB / 0.6431 GB, free: 27.81 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008912/1.206, allocations: 0.7593 MB / 0.6438 GB, free: 27.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008771/1.207, allocations: 0.9724 MB / 0.6448 GB, free: 26.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05722/1.264, allocations: 27.86 MB / 0.672 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1654/1.429, allocations: 93.19 MB / 0.763 GB, free: 412 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2518/1.681, allocations: 53.33 MB / 0.8151 GB, free: 159.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009099/1.69, allocations: 5.987 MB / 0.8209 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/1.714, allocations: 16.58 MB / 0.8371 GB, free: 149 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.714, allocations: 82.17 kB / 0.8372 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 6.001e-06/1.714, allocations: 0 / 0.8372 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02855/1.742, allocations: 13.21 MB / 0.8501 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.742, allocations: 126.4 kB / 0.8502 GB, free: 144.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009321/1.752, allocations: 7.489 MB / 0.8575 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006983/1.752, allocations: 93.7 kB / 0.8576 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.756, allocations: 8.533 MB / 0.8659 GB, free: 131 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/1.758, allocations: 1.553 MB / 0.8675 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003002/1.761, allocations: 2.272 MB / 0.8697 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/1.761, allocations: 305.1 kB / 0.87 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005695/1.766, allocations: 4.709 MB / 0.8746 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00853/1.775, allocations: 10.4 MB / 0.8847 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/1.79, allocations: 15.98 MB / 0.9003 GB, free: 91.64 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/1.79, allocations: 56 kB / 0.9004 GB, free: 91.58 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02397/1.814, allocations: 16 MB / 0.916 GB, free: 75.56 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.814, allocations: 92 kB / 0.9161 GB, free: 75.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/1.814, allocations: 199.9 kB / 0.9163 GB, free: 75.28 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/1.819, allocations: 1.696 MB / 0.918 GB, free: 73.57 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007572/1.826, allocations: 2.503 MB / 0.9204 GB, free: 71.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.839, allocations: 11.52 MB / 0.9317 GB, free: 59.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009242/1.848, allocations: 1.56 MB / 0.9332 GB, free: 57.85 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.85, allocations: 0.6014 MB / 0.9338 GB, free: 57.25 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.009726/1.86, allocations: 7.398 MB / 0.941 GB, free: 49.83 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.861, allocations: 0.6248 MB / 0.9416 GB, free: 49.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.872, allocations: 8.095 MB / 0.9495 GB, free: 41.07 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007439/1.879, allocations: 6.48 MB / 0.9558 GB, free: 34.57 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.879, allocations: 12 kB / 0.9558 GB, free: 34.56 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/1.879, allocations: 19.92 kB / 0.9559 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03226/1.911, allocations: 20.73 MB / 0.9761 GB, free: 13.81 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.911, allocations: 0 / 0.9761 GB, free: 13.81 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004372/1.916, allocations: 0.7645 MB / 0.9769 GB, free: 13.04 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/1.922, allocations: 1.45 MB / 0.9783 GB, free: 11.59 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007643/1.923, allocations: 99.97 kB / 0.9784 GB, free: 11.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.938, allocations: 11.13 MB / 0.9892 GB, free: 232 kB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.938, allocations: 7.938 kB / 0.9892 GB, free: 224 kB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.252/2.19, allocations: 11.71 MB / 1.001 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003647/2.194, allocations: 1.32 MB / 1.002 GB, free: 186.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009463/2.195, allocations: 78.89 kB / 1.002 GB, free: 186.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/2.197, allocations: 301.4 kB / 1.002 GB, free: 186.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007496/2.198, allocations: 292.7 kB / 1.003 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/2.199, allocations: 123.2 kB / 1.003 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007436/2.206, allocations: 4.925 MB / 1.008 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.41e-07/2.206, allocations: 0 / 1.008 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01069/2.217, allocations: 4.186 MB / 1.012 GB, free: 183.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.0008641/2.218, allocations: 280 kB / 1.012 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.232, allocations: 10.97 MB / 1.023 GB, free: 179.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/2.232, allocations: 0 / 1.023 GB, free: 179.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/2.237, allocations: 3.942 MB / 1.026 GB, free: 177.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006935/2.243, allocations: 1.545 MB / 1.028 GB, free: 177 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04583/2.289, allocations: 29.68 MB / 1.057 GB, free: 155.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01543/2.305, allocations: 11.61 MB / 1.068 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01577/2.321, allocations: 3.975 MB / 1.072 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/2.323, allocations: 0.4985 MB / 1.073 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.853e-06/2.323, allocations: 0 / 1.073 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.1668/2.49, allocations: 93.91 MB / 1.164 GB, free: 52.12 MB / 0.5607 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches