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.001467/0.001467, allocations: 175.8 kB / 16.72 MB, free: 5.078 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.264/1.264, allocations: 205.4 MB / 222.9 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.0007079/0.0007079, allocations: 90.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2058, allocations: 47.57 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.004212/0.2101, allocations: 5.044 MB / 380.1 MB, free: 41.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.2129, allocations: 1.74 MB / 381.9 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.2133, allocations: 19.66 kB / 381.9 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.2138, allocations: 205.6 kB / 382.1 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.2152, allocations: 0.6817 MB / 382.8 MB, free: 39.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.2157, allocations: 227.9 kB / 383 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.2163, allocations: 0.8174 MB / 383.8 MB, free: 38.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.2187, allocations: 1.598 MB / 385.4 MB, free: 37.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.2191, allocations: 318.7 kB / 385.7 MB, free: 37.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.2196, allocations: 456.4 kB / 386.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.2197, allocations: 42.09 kB / 386.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.2202, allocations: 195.2 kB / 386.4 MB, free: 37.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.2203, allocations: 153.3 kB / 386.5 MB, free: 36.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.2206, allocations: 420.8 kB / 387 MB, free: 36.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.2213, allocations: 0.9502 MB / 387.9 MB, free: 35.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2213, allocations: 0 / 387.9 MB, free: 35.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2213, allocations: 0 / 387.9 MB, free: 35.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2213, allocations: 0 / 387.9 MB, free: 35.82 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.002465/0.2238, allocations: 1.241 MB / 389.2 MB, free: 34.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2238, allocations: 12.03 kB / 389.2 MB, free: 34.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005915/0.2298, allocations: 0.9637 MB / 390.1 MB, free: 33.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.2304, allocations: 451 kB / 390.6 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.2304, allocations: 74.55 kB / 390.6 MB, free: 33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2305, allocations: 112.4 kB / 390.8 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.2322, allocations: 1.137 MB / 391.9 MB, free: 31.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.2322, allocations: 4 kB / 391.9 MB, free: 31.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.2323, allocations: 40 kB / 391.9 MB, free: 31.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.2323, allocations: 28 kB / 392 MB, free: 31.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.2339, allocations: 1.136 MB / 393.1 MB, free: 30.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.2382, allocations: 3.976 MB / 397.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.2403, allocations: 3.748 MB / 400.8 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.2407, allocations: 323.1 kB / 401.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.143e-05/0.2408, allocations: 105.6 kB / 401.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2409, allocations: 43.06 kB / 401.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 3.146e-06/0.2409, allocations: 4 kB / 401.3 MB, free: 21.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.001166/0.2421, allocations: 0.7603 MB / 402 MB, free: 20.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2421, allocations: 119.4 kB / 402.2 MB, free: 20.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.2424, allocations: 320.2 kB / 402.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.2424, allocations: 41.64 kB / 402.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2425, allocations: 445.9 kB / 402.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2427, allocations: 244.5 kB / 403.2 MB, free: 19.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.2427, allocations: 20 kB / 403.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.2428, allocations: 354.8 kB / 403.6 MB, free: 19.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.2431, allocations: 249.9 kB / 403.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.2436, allocations: 0.5591 MB / 404.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.2445, allocations: 0.8832 MB / 405.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2445, allocations: 4 kB / 405.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001146/0.2457, allocations: 0.8987 MB / 406.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2457, allocations: 11.94 kB / 406.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2457, allocations: 12 kB / 406.2 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.2457, allocations: 16.75 kB / 406.2 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.2464, allocations: 243.6 kB / 406.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.2465, allocations: 23.88 kB / 406.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2469, allocations: 103 kB / 406.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.247, allocations: 47.98 kB / 406.6 MB, free: 15.7 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.0002615/0.2472, allocations: 245.5 kB / 406.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2474, allocations: 55.38 kB / 406.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.2484, allocations: 0.6823 MB / 407.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.2484, allocations: 8 kB / 407.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2484, allocations: 0 / 407.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2484, allocations: 7.984 kB / 407.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.2503, allocations: 1.59 MB / 409.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2504, allocations: 3.938 kB / 409.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.2509, allocations: 155.8 kB / 409.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2509, allocations: 4 kB / 409.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.251, allocations: 19.98 kB / 409.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.251, allocations: 4 kB / 409.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.251, allocations: 0 / 409.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.2523, allocations: 1.169 MB / 410.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.2524, allocations: 136.3 kB / 410.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.2525, allocations: 16 kB / 410.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.2528, allocations: 32.05 kB / 410.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.2529, allocations: 44.59 kB / 410.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.2529, allocations: 27.92 kB / 410.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.2531, allocations: 203.1 kB / 411 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2531, allocations: 0 / 411 MB, free: 11.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007428/0.2539, allocations: 247.1 kB / 411.2 MB, free: 10.96 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.0002214/0.2541, allocations: 155 kB / 411.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.255, allocations: 0.6946 MB / 412.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.255, allocations: 0 / 412.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.2554, allocations: 319.6 kB / 412.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.256, allocations: 57.02 kB / 412.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.258, allocations: 1.811 MB / 414.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.2583, allocations: 0.9244 MB / 415.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.2585, allocations: 67.42 kB / 415.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2585, allocations: 0 / 415.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of Templates: time 0.008729/0.2672, allocations: 7.889 MB / 423.1 MB, free: 14.98 MB / 314.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