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.001505/0.001505, allocations: 112.2 kB / 17.28 MB, free: 6.219 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.001602/0.001602, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.458/1.458, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001211/0.001212, allocations: 51.92 kB / 280.2 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09005, allocations: 46.63 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02875/0.1188, allocations: 28.98 MB / 355.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0191/0.138, allocations: 7.321 MB / 363.1 MB, free: 320 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007086/0.1452, allocations: 207.3 kB / 363.3 MB, free: 112 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.026/0.1712, allocations: 12.52 MB / 375.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.1825, allocations: 2.726 MB / 378.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.166/0.3485, allocations: 1.736 MB / 380.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02592/0.3745, allocations: 18.78 MB / 399.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08727/0.4618, allocations: 53.23 MB / 452.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01701/0.4788, allocations: 10.42 MB / 462.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02035/0.4992, allocations: 11.66 MB / 474.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01005/0.5093, allocations: 2.978 MB / 477.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.5223, allocations: 3.224 MB / 480.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01021/0.5325, allocations: 5.79 MB / 486.4 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02355/0.5561, allocations: 11.23 MB / 497.6 MB, free: 5.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04318/0.5993, allocations: 39.47 MB / 0.5245 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5994, allocations: 1.969 kB / 0.5245 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5994, allocations: 0 / 0.5245 GB, free: 15.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009761/0.6004, allocations: 0 / 0.5245 GB, free: 15.08 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: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.4012/1.002, allocations: 22.98 MB / 0.5469 GB, free: 130.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/1.002, allocations: 9.812 kB / 0.5469 GB, free: 130.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06491/1.067, allocations: 12.29 MB / 0.5589 GB, free: 127 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.091, allocations: 10.53 MB / 0.5692 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001514/1.093, allocations: 1.396 MB / 0.5706 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009228/1.102, allocations: 1.826 MB / 0.5724 GB, free: 119 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08476/1.187, allocations: 30.89 MB / 0.6025 GB, free: 88.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008087/1.188, allocations: 15.84 kB / 0.6025 GB, free: 88.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00737/1.195, allocations: 0.762 MB / 0.6033 GB, free: 88.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009543/1.196, allocations: 0.9879 MB / 0.6042 GB, free: 87.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05548/1.252, allocations: 27.91 MB / 0.6315 GB, free: 59.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5085/1.76, allocations: 94.36 MB / 0.7236 GB, free: 116.7 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03635/1.797, allocations: 53.41 MB / 0.7758 GB, free: 71.77 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008913/1.805, allocations: 5.925 MB / 0.7816 GB, free: 71.69 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02945/1.835, allocations: 16.86 MB / 0.7981 GB, free: 68.71 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.632e-05/1.835, allocations: 83.56 kB / 0.7981 GB, free: 68.66 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 1.256e-05/1.835, allocations: 0 / 0.7981 GB, free: 68.66 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03256/1.868, allocations: 13.43 MB / 0.8113 GB, free: 67.89 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/1.868, allocations: 126.8 kB / 0.8114 GB, free: 67.79 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01329/1.881, allocations: 7.486 MB / 0.8187 GB, free: 64.21 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.882, allocations: 97.58 kB / 0.8188 GB, free: 64.12 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004965/1.887, allocations: 8.52 MB / 0.8271 GB, free: 56.7 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002216/1.889, allocations: 1.598 MB / 0.8287 GB, free: 55.35 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006902/1.896, allocations: 2.28 MB / 0.8309 GB, free: 54.05 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/1.896, allocations: 301.1 kB / 0.8312 GB, free: 53.76 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00868/1.905, allocations: 4.781 MB / 0.8358 GB, free: 51.23 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.916, allocations: 10.49 MB / 0.8461 GB, free: 40.79 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/1.932, allocations: 16.15 MB / 0.8619 GB, free: 22.45 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002503/1.932, allocations: 56 kB / 0.8619 GB, free: 22.39 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02607/1.958, allocations: 16.17 MB / 0.8777 GB, free: 6.141 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/1.959, allocations: 91.98 kB / 0.8778 GB, free: 6.051 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003227/1.959, allocations: 200 kB / 0.878 GB, free: 5.855 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005571/1.964, allocations: 1.704 MB / 0.8796 GB, free: 4.148 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008079/1.973, allocations: 2.503 MB / 0.8821 GB, free: 1.645 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/1.989, allocations: 11.52 MB / 0.8933 GB, free: 5.988 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2, allocations: 1.56 MB / 0.8948 GB, free: 4.414 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/2.002, allocations: 0.5976 MB / 0.8954 GB, free: 3.816 MB / 494.3 MB 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 (1318): * Single equations (assignments): 1309 * 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.01649/2.019, allocations: 7.402 MB / 0.9027 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/2.021, allocations: 0.6287 MB / 0.9033 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/2.038, allocations: 8.258 MB / 0.9113 GB, free: 3.465 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2311/2.269, allocations: 6.642 MB / 0.9178 GB, free: 164.4 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/2.269, allocations: 12.33 kB / 0.9178 GB, free: 164.4 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.902e-05/2.269, allocations: 24.11 kB / 0.9179 GB, free: 164.4 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04828/2.317, allocations: 21.03 MB / 0.9384 GB, free: 158.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/2.317, allocations: 3.906 kB / 0.9384 GB, free: 158.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003456/2.321, allocations: 0.761 MB / 0.9391 GB, free: 158 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005399/2.326, allocations: 1.462 MB / 0.9406 GB, free: 157.8 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008209/2.327, allocations: 94.92 kB / 0.9407 GB, free: 157.7 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/2.341, allocations: 11.17 MB / 0.9516 GB, free: 151.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.341, allocations: 3.938 kB / 0.9516 GB, free: 151.8 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/2.36, allocations: 11.99 MB / 0.9633 GB, free: 147 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003814/2.364, allocations: 1.332 MB / 0.9646 GB, free: 146.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/2.366, allocations: 71.81 kB / 0.9646 GB, free: 146.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003988/2.37, allocations: 306.1 kB / 0.9649 GB, free: 146.1 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009202/2.371, allocations: 301.1 kB / 0.9652 GB, free: 146.1 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005109/2.371, allocations: 124.5 kB / 0.9653 GB, free: 146.1 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.00961/2.381, allocations: 4.933 MB / 0.9702 GB, free: 144.3 MB / 0.4983 GB Notification: Performance of sort global known variables: time 5.31e-07/2.381, allocations: 0 / 0.9702 GB, free: 144.3 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01485/2.396, allocations: 4.178 MB / 0.9742 GB, free: 143 MB / 0.4983 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 (387): * Single equations (assignments): 378 * 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 Backend phase and start with SimCode phase: time 0.00126/2.397, allocations: 271.9 kB / 0.9745 GB, free: 142.8 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.03664/2.434, allocations: 20.61 MB / 0.9946 GB, free: 123.8 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.434, allocations: 0 / 0.9946 GB, free: 123.8 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.006443/2.44, allocations: 4.03 MB / 0.9986 GB, free: 119.7 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/2.453, allocations: 1.554 MB / 1 GB, free: 118.2 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07011/2.523, allocations: 37.6 MB / 1.037 GB, free: 80.6 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01909/2.542, allocations: 11.61 MB / 1.048 GB, free: 68.95 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01384/2.556, allocations: 3.976 MB / 1.052 GB, free: 64.96 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/2.559, allocations: 0.5033 MB / 1.053 GB, free: 64.46 MB / 0.4983 GB Notification: Performance of SimCode: time 7.01e-07/2.559, allocations: 0 / 1.053 GB, free: 64.46 MB / 0.4983 GB Notification: Performance of Templates: time 0.3705/2.929, allocations: 99.58 MB / 1.15 GB, free: 130.4 MB / 0.4983 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches