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.002265/0.002269, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00108/0.00108, allocations: 94.69 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.821e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.093, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5104, allocations: 85.66 MB / 454.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5107, allocations: 83.7 kB / 454.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1073/0.618, allocations: 29.02 MB / 483.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6181, allocations: 4 kB / 483.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.574e-05/0.6181, allocations: 16 kB / 483.9 MB, free: 12.09 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.003601/0.6217, allocations: 1.068 MB / 484.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.6218, allocations: 12.03 kB / 485 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008301/0.6301, allocations: 0.7052 MB / 485.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.6316, allocations: 460.8 kB / 486.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.6317, allocations: 82.17 kB / 486.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.6321, allocations: 104 kB / 486.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.6358, allocations: 1.078 MB / 487.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.6359, allocations: 4 kB / 487.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.6361, allocations: 40 kB / 487.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.6361, allocations: 24 kB / 487.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.6399, allocations: 1.097 MB / 488.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.6517, allocations: 4.051 MB / 492.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/0.6575, allocations: 3.729 MB / 496.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009272/0.6585, allocations: 293.7 kB / 496.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.6587, allocations: 101.6 kB / 496.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.6588, allocations: 47.12 kB / 496.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 6.472e-06/0.6588, allocations: 0 / 496.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.00175/0.6605, allocations: 0.5141 MB / 497.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.6606, allocations: 111.4 kB / 497.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.6613, allocations: 298.4 kB / 497.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.6614, allocations: 37.64 kB / 497.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.6618, allocations: 0.4925 MB / 498.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.6621, allocations: 248.5 kB / 498.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.6622, allocations: 24.06 kB / 498.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.6624, allocations: 346.8 kB / 498.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.6632, allocations: 218 kB / 499 MB, free: 11.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.6644, allocations: 0.532 MB / 499.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/0.6654, allocations: 309.9 kB / 499.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.6655, allocations: 4 kB / 499.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002517/0.668, allocations: 0.8391 MB / 0.4889 GB, free: 9.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.668, allocations: 16.89 kB / 0.489 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.6681, allocations: 11.98 kB / 0.489 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.356e-05/0.6681, allocations: 20 kB / 0.489 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.67, allocations: 235.6 kB / 0.4892 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-05/0.67, allocations: 23.92 kB / 0.4892 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.6711, allocations: 103 kB / 0.4893 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.6712, allocations: 47.98 kB / 0.4894 GB, free: 9.523 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.0002754/0.6715, allocations: 168.6 kB / 0.4895 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.6717, allocations: 43.44 kB / 0.4896 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.6738, allocations: 0.6535 MB / 0.4902 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.6739, allocations: 11.98 kB / 0.4902 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6739, allocations: 0 / 0.4902 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.6739, allocations: 3.984 kB / 0.4902 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.6783, allocations: 1.543 MB / 0.4917 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6784, allocations: 0 / 0.4917 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.6798, allocations: 151.8 kB / 0.4919 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.6798, allocations: 8 kB / 0.4919 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.6799, allocations: 16 kB / 0.4919 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.6799, allocations: 11.89 kB / 0.4919 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6799, allocations: 0 / 0.4919 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.6827, allocations: 1.119 MB / 0.493 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.6829, allocations: 140.3 kB / 0.4932 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.683, allocations: 16 kB / 0.4932 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.6838, allocations: 23.98 kB / 0.4932 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.684, allocations: 44.72 kB / 0.4932 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.6841, allocations: 20.06 kB / 0.4933 GB, free: 5.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004139/0.6845, allocations: 214.1 kB / 0.4935 GB, free: 5.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6845, allocations: 4 kB / 0.4935 GB, free: 5.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001512/0.6861, allocations: 255 kB / 0.4937 GB, free: 4.973 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.0004047/0.6865, allocations: 165.9 kB / 0.4939 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.6885, allocations: 0.6423 MB / 0.4945 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6885, allocations: 0 / 0.4945 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.6894, allocations: 308.3 kB / 0.4948 GB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.6901, allocations: 45.06 kB / 0.4948 GB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.6969, allocations: 1.609 MB / 0.4964 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.6977, allocations: 0.9477 MB / 0.4973 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.6982, allocations: 63.42 kB / 0.4974 GB, free: 1.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6982, allocations: 3.938 kB / 0.4974 GB, free: 1.129 MB / 378.7 MB Notification: Performance of Templates: time 0.02167/0.7199, allocations: 7.819 MB / 0.505 GB, free: 9.297 MB / 394.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