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.001349/0.001349, allocations: 180.6 kB / 16.41 MB, free: 5.703 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.336/1.336, allocations: 205.4 MB / 222.5 MB, free: 9.031 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.0007799/0.0007802, allocations: 86.16 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1925, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.004498/0.197, allocations: 5.015 MB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.2001, allocations: 1.736 MB / 381.3 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.2008, allocations: 18.88 kB / 381.3 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.2015, allocations: 202.5 kB / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.2033, allocations: 0.6949 MB / 382.2 MB, free: 39.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.2039, allocations: 222.7 kB / 382.4 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.205, allocations: 0.8157 MB / 383.2 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.2076, allocations: 1.504 MB / 384.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.2082, allocations: 318.3 kB / 385.1 MB, free: 37.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.2089, allocations: 452.9 kB / 385.5 MB, free: 37.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.2091, allocations: 40.69 kB / 385.5 MB, free: 37.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.2097, allocations: 194.2 kB / 385.7 MB, free: 37.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.2099, allocations: 153.7 kB / 385.9 MB, free: 37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.2101, allocations: 180 kB / 386.1 MB, free: 36.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.2111, allocations: 0.9525 MB / 387 MB, free: 36.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2111, allocations: 0.8125 kB / 387 MB, free: 36.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2111, allocations: 0 / 387 MB, free: 36.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.2111, allocations: 0 / 387 MB, free: 36.14 MB / 298.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.002753/0.2139, allocations: 1.247 MB / 388.3 MB, free: 35.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2139, allocations: 8.031 kB / 388.3 MB, free: 35.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/0.2204, allocations: 0.9706 MB / 389.2 MB, free: 34.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.221, allocations: 445.8 kB / 389.7 MB, free: 33.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.221, allocations: 82.11 kB / 389.8 MB, free: 33.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2212, allocations: 108 kB / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2228, allocations: 1.118 MB / 391 MB, free: 32.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.2228, allocations: 7.906 kB / 391 MB, free: 32.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.2229, allocations: 44 kB / 391 MB, free: 32.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.223, allocations: 28 kB / 391.1 MB, free: 32.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.2245, allocations: 1.144 MB / 392.2 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.2288, allocations: 3.968 MB / 396.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.231, allocations: 3.753 MB / 399.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.2314, allocations: 331.3 kB / 400.2 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.2315, allocations: 97.64 kB / 400.3 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2316, allocations: 39.12 kB / 400.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 3.466e-06/0.2316, allocations: 0 / 400.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.001181/0.2327, allocations: 0.7601 MB / 401.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.2328, allocations: 119.6 kB / 401.3 MB, free: 20.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.233, allocations: 328.2 kB / 401.6 MB, free: 20.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2331, allocations: 37.7 kB / 401.6 MB, free: 20.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2332, allocations: 445.9 kB / 402 MB, free: 20.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2333, allocations: 236.5 kB / 402.3 MB, free: 19.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.2334, allocations: 20 kB / 402.3 MB, free: 19.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.2334, allocations: 362.7 kB / 402.6 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.2338, allocations: 253.9 kB / 402.9 MB, free: 19.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.2343, allocations: 0.5552 MB / 403.5 MB, free: 18.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.2347, allocations: 339.1 kB / 403.8 MB, free: 18.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2347, allocations: 4 kB / 403.8 MB, free: 18.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001124/0.2359, allocations: 0.8987 MB / 404.7 MB, free: 17.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2359, allocations: 8 kB / 404.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2359, allocations: 12 kB / 404.7 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.2359, allocations: 16.75 kB / 404.7 MB, free: 17.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.2366, allocations: 243.6 kB / 405 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.2367, allocations: 23.88 kB / 405 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.2371, allocations: 103 kB / 405.1 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.2372, allocations: 47.98 kB / 405.1 MB, free: 16.91 MB / 298.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.000218/0.2374, allocations: 241.4 kB / 405.4 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.2375, allocations: 51.44 kB / 405.4 MB, free: 16.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.2385, allocations: 0.69 MB / 406.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2385, allocations: 8 kB / 406.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2386, allocations: 4 kB / 406.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2386, allocations: 3.984 kB / 406.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.2404, allocations: 1.602 MB / 407.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2404, allocations: 0 / 407.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.241, allocations: 151.9 kB / 407.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.241, allocations: 7.938 kB / 407.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.241, allocations: 15.98 kB / 407.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.241, allocations: 4 kB / 407.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.241, allocations: 0 / 407.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.2423, allocations: 1.177 MB / 409.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.2424, allocations: 136.4 kB / 409.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.2424, allocations: 19.92 kB / 409.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.2428, allocations: 28.06 kB / 409.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.2429, allocations: 52.52 kB / 409.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2429, allocations: 20 kB / 409.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.2431, allocations: 207.1 kB / 409.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2431, allocations: 0 / 409.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007198/0.2438, allocations: 251.1 kB / 409.8 MB, free: 12.16 MB / 298.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.0002036/0.244, allocations: 147 kB / 409.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.2449, allocations: 0.6907 MB / 410.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.245, allocations: 0 / 410.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.2453, allocations: 323.5 kB / 410.9 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.2459, allocations: 53.78 kB / 411 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.2478, allocations: 1.814 MB / 412.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.2481, allocations: 0.9244 MB / 413.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.2482, allocations: 63.42 kB / 413.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2482, allocations: 0 / 413.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of Templates: time 0.007669/0.2559, allocations: 7.925 MB / 421.7 MB, free: 156 kB / 298.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/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches