Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002522/0.002528, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.138/4.138, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.0018/0.0018, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.01559/0.2919, allocations: 4.706 MB / 379.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.3073, allocations: 1.781 MB / 381 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005194/0.3125, allocations: 20 kB / 381 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.3142, allocations: 202.8 kB / 381.2 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.3185, allocations: 0.7128 MB / 382 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.3201, allocations: 227.6 kB / 382.2 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.3226, allocations: 0.6164 MB / 382.8 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006046/0.3287, allocations: 1.463 MB / 384.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.3298, allocations: 318.8 kB / 384.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.331, allocations: 430.3 kB / 385 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.3313, allocations: 40 kB / 385 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.3325, allocations: 175.8 kB / 385.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.3328, allocations: 155.3 kB / 385.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.3332, allocations: 177.3 kB / 385.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.3357, allocations: 0.9428 MB / 386.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3358, allocations: 4 kB / 386.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3358, allocations: 0 / 386.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.3359, allocations: 0 / 386.5 MB, free: 3.418 MB / 282.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.007219/0.3431, allocations: 1.245 MB / 387.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.3432, allocations: 8.031 kB / 387.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.3598, allocations: 0.9707 MB / 388.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.3614, allocations: 441.8 kB / 389.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.3617, allocations: 86.11 kB / 389.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.3621, allocations: 111.9 kB / 389.3 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.406/0.7681, allocations: 1.104 MB / 390.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.64e-05/0.7683, allocations: 6.828 kB / 390.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.7686, allocations: 44.89 kB / 390.5 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.7687, allocations: 26.94 kB / 390.5 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005449/0.7742, allocations: 1.143 MB / 391.6 MB, free: 19.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.7876, allocations: 3.968 MB / 395.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/0.7938, allocations: 3.747 MB / 399.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.7941, allocations: 100.4 kB / 399.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.7942, allocations: 44.59 kB / 399.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 6.132e-06/0.7942, allocations: 0 / 399.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.003477/0.7977, allocations: 0.7689 MB / 400.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.7978, allocations: 115.6 kB / 400.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.7987, allocations: 324.5 kB / 400.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.7988, allocations: 36.8 kB / 400.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.7992, allocations: 0.4949 MB / 401.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.7996, allocations: 245.5 kB / 401.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.7997, allocations: 22.75 kB / 401.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7999, allocations: 351.3 kB / 401.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.8011, allocations: 249.2 kB / 402.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.8026, allocations: 0.5563 MB / 402.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.804, allocations: 342.8 kB / 403 MB, free: 10.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.804, allocations: 6.375 kB / 403 MB, free: 10.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01243/0.8165, allocations: 0.8906 MB / 403.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.8166, allocations: 10.08 kB / 403.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/0.8166, allocations: 14.88 kB / 403.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.951e-05/0.8167, allocations: 22.3 kB / 403.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.8193, allocations: 237 kB / 404.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.008e-05/0.8194, allocations: 21.36 kB / 404.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00567/0.8251, allocations: 108.5 kB / 404.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.8254, allocations: 46.53 kB / 404.3 MB, free: 10.11 MB / 282.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.0007751/0.8262, allocations: 240.6 kB / 404.6 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.8266, allocations: 45.28 kB / 404.6 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007487/0.8341, allocations: 0.6917 MB / 405.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.8342, allocations: 8.25 kB / 405.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/0.8342, allocations: 2.812 kB / 405.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.8343, allocations: 8.75 kB / 405.3 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.8451, allocations: 1.592 MB / 406.9 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.8452, allocations: 0 / 406.9 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/0.8471, allocations: 155 kB / 407 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/0.8472, allocations: 3.594 kB / 407.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.8473, allocations: 21.16 kB / 407.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/0.8474, allocations: 3.203 kB / 407.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8474, allocations: 1.344 kB / 407.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.8601, allocations: 1.198 MB / 408.3 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.8606, allocations: 130.8 kB / 408.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.8609, allocations: 17.66 kB / 408.4 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8619, allocations: 23.98 kB / 408.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.8622, allocations: 48.22 kB / 408.5 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/0.8623, allocations: 21.12 kB / 408.5 MB, free: 7.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005021/0.8628, allocations: 209.2 kB / 408.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.8629, allocations: 1.062 kB / 408.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002191/0.8651, allocations: 254.1 kB / 409 MB, free: 7.645 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.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.0004505/0.8656, allocations: 145.9 kB / 409.1 MB, free: 7.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.8685, allocations: 0.6936 MB / 409.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.8686, allocations: 1.312 kB / 409.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.8698, allocations: 323.1 kB / 410.1 MB, free: 7.184 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.8708, allocations: 44.44 kB / 410.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.8759, allocations: 1.757 MB / 411.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.8768, allocations: 0.9399 MB / 412.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.8775, allocations: 64.67 kB / 412.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8775, allocations: 0 / 412.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Templates: time 0.02534/0.9029, allocations: 7.806 MB / 420.7 MB, free: 328 kB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches