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.001377/0.001377, allocations: 173 kB / 14.1 MB, free: 1.223 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.502/1.502, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008129/0.0008131, allocations: 86.72 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.404e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4416, allocations: 85.66 MB / 455.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4419, allocations: 77.27 kB / 455.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06666/0.5086, allocations: 29.03 MB / 484.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5086, allocations: 0 / 484.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.405e-05/0.5087, allocations: 12 kB / 484.8 MB, free: 11.73 MB / 362.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.002476/0.5111, allocations: 1.076 MB / 485.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5112, allocations: 8.031 kB / 485.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.5158, allocations: 0.7091 MB / 486.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.5165, allocations: 460.8 kB / 487 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.5166, allocations: 78.11 kB / 487.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.5168, allocations: 108 kB / 487.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.5185, allocations: 1.074 MB / 488.3 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5186, allocations: 0 / 488.3 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.5187, allocations: 44 kB / 488.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.5187, allocations: 32 kB / 488.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5204, allocations: 1.082 MB / 489.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005878/0.5263, allocations: 4.062 MB / 493.5 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.5296, allocations: 3.723 MB / 497.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.53, allocations: 292.7 kB / 497.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.5302, allocations: 101.6 kB / 497.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.5302, allocations: 43.12 kB / 497.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 3.336e-06/0.5302, allocations: 3.938 kB / 497.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.000893/0.5311, allocations: 0.518 MB / 498.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.5312, allocations: 115.3 kB / 498.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.5315, allocations: 286.4 kB / 498.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5316, allocations: 45.64 kB / 498.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5318, allocations: 450 kB / 499.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.532, allocations: 240.5 kB / 499.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.532, allocations: 20 kB / 499.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5322, allocations: 354.8 kB / 499.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.5325, allocations: 222 kB / 499.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.5331, allocations: 0.5242 MB / 0.4887 GB, free: 10.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.5336, allocations: 309.9 kB / 0.489 GB, free: 10.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.5336, allocations: 7.984 kB / 0.489 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001237/0.5348, allocations: 0.8515 MB / 0.4898 GB, free: 9.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5348, allocations: 11.95 kB / 0.4898 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.5349, allocations: 16.12 kB / 0.4898 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.5349, allocations: 16 kB / 0.4899 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.5357, allocations: 235.6 kB / 0.4901 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/0.5357, allocations: 19.92 kB / 0.4901 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.5362, allocations: 107 kB / 0.4902 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.5363, allocations: 51.97 kB / 0.4903 GB, free: 9.203 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 () * 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.0001535/0.5365, allocations: 169.5 kB / 0.4904 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5366, allocations: 47.44 kB / 0.4905 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.5376, allocations: 0.6535 MB / 0.4911 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5377, allocations: 8 kB / 0.4911 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5377, allocations: 0 / 0.4911 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5377, allocations: 7.984 kB / 0.4911 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.5398, allocations: 1.543 MB / 0.4926 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5399, allocations: 0 / 0.4926 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.5405, allocations: 155.8 kB / 0.4928 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.5405, allocations: 4 kB / 0.4928 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.5405, allocations: 16 kB / 0.4928 GB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.5405, allocations: 7.953 kB / 0.4928 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5405, allocations: 0 / 0.4928 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.542, allocations: 1.119 MB / 0.4939 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.5421, allocations: 136.3 kB / 0.494 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.5422, allocations: 16 kB / 0.494 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.5425, allocations: 27.92 kB / 0.4941 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.5427, allocations: 52.78 kB / 0.4941 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.5427, allocations: 23.98 kB / 0.4941 GB, free: 5.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.5429, allocations: 202.2 kB / 0.4943 GB, free: 4.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5429, allocations: 0 / 0.4943 GB, free: 4.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007929/0.5437, allocations: 263 kB / 0.4946 GB, free: 4.648 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 () * 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.0002731/0.544, allocations: 159.1 kB / 0.4947 GB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000903/0.5449, allocations: 0.6457 MB / 0.4954 GB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5449, allocations: 0 / 0.4954 GB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.5453, allocations: 304.3 kB / 0.4956 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5457, allocations: 46.62 kB / 0.4957 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.5494, allocations: 1.585 MB / 0.4972 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5498, allocations: 0.9438 MB / 0.4982 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.5503, allocations: 96.88 kB / 0.4983 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.5504, allocations: 51.42 kB / 0.4983 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5504, allocations: 0 / 0.4983 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of Templates: time 0.009459/0.5599, allocations: 4.758 MB / 0.503 GB, free: 12 MB / 394.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