Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000788/0.000788, allocations: 92.86 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02409/0.2384, allocations: 25.68 MB / 400.8 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01893/0.2574, allocations: 6.828 MB / 407.6 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007353/0.2648, allocations: 207.3 kB / 407.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007818/0.2727, allocations: 1.417 MB / 409.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.2849, allocations: 2.564 MB / 411.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007414/0.2923, allocations: 1.408 MB / 413.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.03983/0.3322, allocations: 23.98 MB / 437.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1112/0.4435, allocations: 42.91 MB / 480.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01663/0.4602, allocations: 7.034 MB / 487.1 MB, free: 308 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01817/0.4784, allocations: 8.207 MB / 495.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005778/0.4842, allocations: 1.164 MB / 496.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00917/0.4934, allocations: 1.406 MB / 497.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007581/0.5011, allocations: 3.449 MB / 0.4896 GB, free: 2.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.4231/0.9242, allocations: 8.39 MB / 0.4978 GB, free: 46.67 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04078/0.9651, allocations: 33.71 MB / 0.5307 GB, free: 31.45 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.9651, allocations: 3.344 kB / 0.5307 GB, free: 31.45 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9651, allocations: 3.531 kB / 0.5307 GB, free: 31.45 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001292/0.9664, allocations: 0 / 0.5307 GB, free: 31.45 MB / 378.8 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.05502/1.021, allocations: 18.8 MB / 0.5491 GB, free: 22.37 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.022, allocations: 9.844 kB / 0.5491 GB, free: 22.37 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06289/1.084, allocations: 12.34 MB / 0.5611 GB, free: 12.17 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/1.108, allocations: 10.56 MB / 0.5714 GB, free: 5.891 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001394/1.109, allocations: 1.4 MB / 0.5728 GB, free: 5.098 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008745/1.118, allocations: 1.823 MB / 0.5746 GB, free: 3.883 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08552/1.203, allocations: 30.74 MB / 0.6046 GB, free: 8.816 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007108/1.204, allocations: 25.67 kB / 0.6046 GB, free: 8.793 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007483/1.212, allocations: 0.7611 MB / 0.6054 GB, free: 8.051 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.213, allocations: 0.9919 MB / 0.6063 GB, free: 7.059 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06319/1.276, allocations: 27.75 MB / 0.6334 GB, free: 11.29 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3982/1.674, allocations: 94.62 MB / 0.7259 GB, free: 94.21 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03351/1.708, allocations: 53.35 MB / 0.7779 GB, free: 40.34 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009121/1.717, allocations: 5.899 MB / 0.7837 GB, free: 34.44 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/1.744, allocations: 16.88 MB / 0.8002 GB, free: 17.28 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.744, allocations: 77.95 kB / 0.8003 GB, free: 17.19 MB / 458.8 MB Notification: Performance of pre-optimization done (n=439): time 7.915e-06/1.744, allocations: 7.922 kB / 0.8003 GB, free: 17.18 MB / 458.8 MB Notification: Performance of matching and sorting (n=439): time 0.02941/1.773, allocations: 13.43 MB / 0.8134 GB, free: 3.711 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/1.773, allocations: 120.5 kB / 0.8135 GB, free: 3.574 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/1.786, allocations: 7.43 MB / 0.8208 GB, free: 12.15 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008192/1.787, allocations: 97.7 kB / 0.8209 GB, free: 12.05 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00733/1.794, allocations: 8.512 MB / 0.8292 GB, free: 3.5 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002968/1.798, allocations: 1.594 MB / 0.8307 GB, free: 1.918 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009455/1.798, allocations: 220 kB / 0.8309 GB, free: 1.703 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0007065/1.799, allocations: 0.7725 MB / 0.8317 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008304/1.807, allocations: 4.737 MB / 0.8363 GB, free: 12.18 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2539/2.061, allocations: 10.44 MB / 0.8465 GB, free: 161 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01925/2.081, allocations: 16.09 MB / 0.8622 GB, free: 151.5 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001876/2.081, allocations: 59.91 kB / 0.8623 GB, free: 151.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02907/2.11, allocations: 16.08 MB / 0.878 GB, free: 145.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/2.11, allocations: 90.03 kB / 0.8781 GB, free: 145.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003336/2.111, allocations: 196.7 kB / 0.8783 GB, free: 145.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00526/2.116, allocations: 1.704 MB / 0.8799 GB, free: 145 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008371/2.124, allocations: 2.498 MB / 0.8824 GB, free: 144.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/2.138, allocations: 10.77 MB / 0.8929 GB, free: 136.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/2.148, allocations: 1.555 MB / 0.8944 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/2.15, allocations: 0.6054 MB / 0.895 GB, free: 134.8 MB / 490.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01367/2.163, allocations: 7.397 MB / 0.9022 GB, free: 128.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/2.165, allocations: 0.6248 MB / 0.9028 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/2.177, allocations: 8.229 MB / 0.9109 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008301/2.185, allocations: 6.615 MB / 0.9173 GB, free: 114.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/2.185, allocations: 12 kB / 0.9173 GB, free: 114.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/2.185, allocations: 23.91 kB / 0.9173 GB, free: 114.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03452/2.22, allocations: 20.98 MB / 0.9378 GB, free: 93.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/2.22, allocations: 0 / 0.9378 GB, free: 93.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00302/2.223, allocations: 0.7697 MB / 0.9386 GB, free: 93.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004846/2.228, allocations: 1.454 MB / 0.94 GB, free: 91.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004372/2.228, allocations: 91.98 kB / 0.9401 GB, free: 91.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/2.24, allocations: 10.42 MB / 0.9503 GB, free: 81.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.24, allocations: 4 kB / 0.9503 GB, free: 81.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/2.255, allocations: 11.94 MB / 0.9619 GB, free: 69.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00351/2.259, allocations: 1.37 MB / 0.9633 GB, free: 67.66 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/2.261, allocations: 76.56 kB / 0.9633 GB, free: 67.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/2.265, allocations: 303.6 kB / 0.9636 GB, free: 67.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007719/2.265, allocations: 311.8 kB / 0.9639 GB, free: 66.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/2.266, allocations: 124 kB / 0.964 GB, free: 66.86 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009601/2.275, allocations: 4.871 MB / 0.9688 GB, free: 62.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.02e-07/2.275, allocations: 0 / 0.9688 GB, free: 62.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01475/2.29, allocations: 4.185 MB / 0.9729 GB, free: 57.8 MB / 490.8 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/2.291, allocations: 275.3 kB / 0.9732 GB, free: 57.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01859/2.31, allocations: 11.07 MB / 0.984 GB, free: 46.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.31, allocations: 0 / 0.984 GB, free: 46.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006648/2.317, allocations: 4.014 MB / 0.9879 GB, free: 42.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/2.327, allocations: 1.448 MB / 0.9893 GB, free: 41.04 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2793/2.607, allocations: 35.37 MB / 1.024 GB, free: 147.7 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01783/2.624, allocations: 11.23 MB / 1.035 GB, free: 146.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/2.627, allocations: 0.5925 MB / 1.035 GB, free: 146.7 MB / 490.8 MB Notification: Performance of SimCode: time 1.442e-06/2.627, allocations: 0 / 1.035 GB, free: 146.7 MB / 490.8 MB Notification: Performance of Templates: time 0.5272/3.154, allocations: 287.6 MB / 1.316 GB, free: 73.41 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches