Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.718/1.718, allocations: 205.4 MB / 223.1 MB, free: 9.027 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.0009293/0.0009294, allocations: 98.7 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003006, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2972, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.425, allocations: 85.76 MB / 461.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.4254, allocations: 83.95 kB / 461.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09384/0.5193, allocations: 29.09 MB / 490.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5193, allocations: 0 / 490.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.446e-05/0.5194, allocations: 16 kB / 490.8 MB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004162/0.5236, allocations: 1.077 MB / 491.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5237, allocations: 8.031 kB / 491.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006591/0.5303, allocations: 0.7208 MB / 492.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.5314, allocations: 465.9 kB / 493 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.5316, allocations: 78.17 kB / 493.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.5319, allocations: 111.8 kB / 493.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.5351, allocations: 1.109 MB / 494.3 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.5352, allocations: 4 kB / 494.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.5354, allocations: 44 kB / 494.4 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.5354, allocations: 28 kB / 494.4 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.5384, allocations: 1.14 MB / 495.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00648/0.5449, allocations: 4.071 MB / 499.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2222/0.7671, allocations: 3.749 MB / 0.4916 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.7674, allocations: 94.38 kB / 0.4916 GB, free: 91.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7674, allocations: 41.84 kB / 0.4917 GB, free: 91.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 4.027e-06/0.7674, allocations: 3.844 kB / 0.4917 GB, free: 91.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.002335/0.7698, allocations: 0.7599 MB / 0.4924 GB, free: 91.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.7699, allocations: 114.5 kB / 0.4925 GB, free: 91.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.7704, allocations: 288.3 kB / 0.4928 GB, free: 91.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.7705, allocations: 35.83 kB / 0.4928 GB, free: 91.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.7708, allocations: 446.4 kB / 0.4933 GB, free: 91.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.771, allocations: 247.1 kB / 0.4935 GB, free: 91.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.771, allocations: 19.09 kB / 0.4935 GB, free: 91.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.7711, allocations: 359.5 kB / 0.4939 GB, free: 90.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.7717, allocations: 249.1 kB / 0.4941 GB, free: 90.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.7723, allocations: 0.5539 MB / 0.4946 GB, free: 90.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.7729, allocations: 331.3 kB / 0.495 GB, free: 90.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.7729, allocations: 2.531 kB / 0.495 GB, free: 90.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001551/0.7745, allocations: 0.8971 MB / 0.4958 GB, free: 90.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.7745, allocations: 14.12 kB / 0.4959 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.7746, allocations: 13.59 kB / 0.4959 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/0.7746, allocations: 17.69 kB / 0.4959 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.7754, allocations: 232.3 kB / 0.4961 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/0.7755, allocations: 20.44 kB / 0.4961 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.7761, allocations: 112.7 kB / 0.4962 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.7762, allocations: 44.28 kB / 0.4963 GB, free: 90.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003993/0.7766, allocations: 240 kB / 0.4965 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.7767, allocations: 46.09 kB / 0.4966 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.7781, allocations: 0.6915 MB / 0.4972 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.7781, allocations: 16.16 kB / 0.4972 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.7781, allocations: 1.125 kB / 0.4972 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.7781, allocations: 3.609 kB / 0.4972 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.7806, allocations: 1.59 MB / 0.4988 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7806, allocations: 0 / 0.4988 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.7812, allocations: 151 kB / 0.4989 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.7813, allocations: 3.312 kB / 0.4989 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.7813, allocations: 13.09 kB / 0.499 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.7813, allocations: 3.344 kB / 0.499 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7813, allocations: 4.531 kB / 0.499 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.7829, allocations: 1.185 MB / 0.5001 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.7831, allocations: 134.9 kB / 0.5003 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.7831, allocations: 19.5 kB / 0.5003 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.7835, allocations: 24.22 kB / 0.5003 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.7836, allocations: 44.25 kB / 0.5003 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.7837, allocations: 24.94 kB / 0.5004 GB, free: 89.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.7839, allocations: 215.2 kB / 0.5006 GB, free: 89.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7839, allocations: 0 / 0.5006 GB, free: 89.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009008/0.7848, allocations: 255.9 kB / 0.5008 GB, free: 89.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.785, allocations: 160.6 kB / 0.501 GB, free: 89.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.7861, allocations: 0.6885 MB / 0.5016 GB, free: 88.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7861, allocations: 0 / 0.5016 GB, free: 88.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.7865, allocations: 321.3 kB / 0.5019 GB, free: 88.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.7869, allocations: 40.56 kB / 0.502 GB, free: 88.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.791, allocations: 2.307 MB / 0.5042 GB, free: 88.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.7913, allocations: 0.9491 MB / 0.5052 GB, free: 87.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.7917, allocations: 87.12 kB / 0.5052 GB, free: 87.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.7919, allocations: 58.89 kB / 0.5053 GB, free: 87.27 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.7919, allocations: 0 / 0.5053 GB, free: 87.27 MB / 378.7 MB Notification: Performance of Templates: time 0.009553/0.8015, allocations: 4.659 MB / 0.5098 GB, free: 86.97 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches