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.001052/0.001051, allocations: 179 kB / 18.04 MB, free: 3.656 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.25/1.25, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007427/0.0007427, allocations: 84.98 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 8 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08932/0.2832, allocations: 85.87 MB / 462.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.2835, allocations: 83.95 kB / 463 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06492/0.3484, allocations: 28.98 MB / 491.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3484, allocations: 3.938 kB / 492 MB, free: 13.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.3485, allocations: 16 kB / 492 MB, free: 13.23 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.002344/0.3508, allocations: 1.077 MB / 493 MB, free: 12.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3509, allocations: 8.031 kB / 493.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.3557, allocations: 0.7217 MB / 493.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.3564, allocations: 457.2 kB / 494.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.3565, allocations: 82.55 kB / 494.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.3567, allocations: 108.3 kB / 494.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.3586, allocations: 1.121 MB / 495.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.3586, allocations: 192 / 495.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.3587, allocations: 55.94 kB / 495.6 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.3588, allocations: 24 kB / 495.6 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.3607, allocations: 1.132 MB / 496.7 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/0.3663, allocations: 4.082 MB / 0.4891 GB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1498/0.5161, allocations: 3.751 MB / 0.4927 GB, free: 95.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.5168, allocations: 317.9 kB / 0.493 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.5169, allocations: 96.66 kB / 0.4931 GB, free: 94.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.517, allocations: 44.95 kB / 0.4932 GB, free: 94.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 2.645e-06/0.517, allocations: 0 / 0.4932 GB, free: 94.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.00163/0.5186, allocations: 0.7582 MB / 0.4939 GB, free: 94.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5187, allocations: 114.1 kB / 0.494 GB, free: 94.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.5191, allocations: 323.7 kB / 0.4943 GB, free: 94.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.5191, allocations: 41.27 kB / 0.4944 GB, free: 94.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5193, allocations: 441.6 kB / 0.4948 GB, free: 94.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.5194, allocations: 249.8 kB / 0.495 GB, free: 94.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.5195, allocations: 17.69 kB / 0.4951 GB, free: 94.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.5195, allocations: 358.7 kB / 0.4954 GB, free: 93.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.52, allocations: 240.8 kB / 0.4956 GB, free: 93.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.5206, allocations: 0.5574 MB / 0.4962 GB, free: 93.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5216, allocations: 0.8854 MB / 0.497 GB, free: 93.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.5216, allocations: 2.719 kB / 0.497 GB, free: 93.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001355/0.5229, allocations: 0.8916 MB / 0.4979 GB, free: 93.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.523, allocations: 8.656 kB / 0.4979 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.523, allocations: 14.84 kB / 0.4979 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.523, allocations: 15.59 kB / 0.4979 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.5238, allocations: 234.6 kB / 0.4982 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.5239, allocations: 19.59 kB / 0.4982 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.5244, allocations: 110.5 kB / 0.4983 GB, free: 93.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.5244, allocations: 46.38 kB / 0.4983 GB, free: 93.04 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.0003171/0.5248, allocations: 242.8 kB / 0.4986 GB, free: 92.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5249, allocations: 49.38 kB / 0.4986 GB, free: 92.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.526, allocations: 0.6785 MB / 0.4993 GB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.526, allocations: 14.23 kB / 0.4993 GB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.526, allocations: 0.875 kB / 0.4993 GB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5261, allocations: 7.734 kB / 0.4993 GB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.5283, allocations: 1.591 MB / 0.5009 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5283, allocations: 1.312 kB / 0.5009 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.5289, allocations: 145.9 kB / 0.501 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.5289, allocations: 6.781 kB / 0.501 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.529, allocations: 17.28 kB / 0.501 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.529, allocations: 6.938 kB / 0.501 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.529, allocations: 2.844 kB / 0.501 GB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.5304, allocations: 1.157 MB / 0.5022 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.5305, allocations: 135.1 kB / 0.5023 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.5306, allocations: 21.97 kB / 0.5023 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.5309, allocations: 27.78 kB / 0.5023 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.531, allocations: 51.3 kB / 0.5024 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.5311, allocations: 17.72 kB / 0.5024 GB, free: 92.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.5312, allocations: 210.9 kB / 0.5026 GB, free: 91.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5312, allocations: 0 / 0.5026 GB, free: 91.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007768/0.532, allocations: 255.4 kB / 0.5028 GB, free: 91.89 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.000193/0.5322, allocations: 160.1 kB / 0.503 GB, free: 91.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000908/0.5331, allocations: 0.6887 MB / 0.5037 GB, free: 91.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5331, allocations: 3.5 kB / 0.5037 GB, free: 91.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.5335, allocations: 319.8 kB / 0.504 GB, free: 91.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.5341, allocations: 50.83 kB / 0.504 GB, free: 91.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.5361, allocations: 1.795 MB / 0.5058 GB, free: 90.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5364, allocations: 0.925 MB / 0.5067 GB, free: 90.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004042/0.5368, allocations: 92.81 kB / 0.5068 GB, free: 90.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.537, allocations: 53.08 kB / 0.5068 GB, free: 90.08 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.537, allocations: 0 / 0.5068 GB, free: 90.08 MB / 378.7 MB Notification: Performance of Templates: time 0.008042/0.545, allocations: 4.678 MB / 0.5114 GB, free: 89.78 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/jenkins1/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