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.002067/0.002067, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.344e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4712, allocations: 85.02 MB / 447.4 MB, free: 1.293 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4716, allocations: 79.95 kB / 447.4 MB, free: 1.215 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1091/0.5806, allocations: 28.64 MB / 476.1 MB, free: 4.293 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5807, allocations: 0 / 476.1 MB, free: 4.293 MB / 363.1 MB Notification: Performance of Transformations before backend: time 3.385e-05/0.5807, allocations: 12.56 kB / 476.1 MB, free: 4.281 MB / 363.1 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.003935/0.5847, allocations: 1.071 MB / 477.2 MB, free: 3.164 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5848, allocations: 12.03 kB / 477.2 MB, free: 3.152 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007361/0.5921, allocations: 0.7091 MB / 477.9 MB, free: 2.441 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.5934, allocations: 455.9 kB / 478.3 MB, free: 1.953 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.5935, allocations: 32 kB / 478.4 MB, free: 1.922 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.5937, allocations: 65.97 kB / 478.4 MB, free: 1.859 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002935/0.5967, allocations: 1.02 MB / 479.4 MB, free: 0.8359 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.5992, allocations: 0.8864 MB / 480.3 MB, free: 15.91 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.5993, allocations: 4 kB / 480.3 MB, free: 15.91 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5995, allocations: 0 / 480.3 MB, free: 15.91 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.5995, allocations: 28 kB / 480.4 MB, free: 15.88 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/0.6092, allocations: 3.895 MB / 484.2 MB, free: 11.76 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/0.6142, allocations: 3.714 MB / 488 MB, free: 7.383 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.615, allocations: 268.7 kB / 488.2 MB, free: 7.113 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.6152, allocations: 97.64 kB / 488.3 MB, free: 7 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.6152, allocations: 47.12 kB / 488.4 MB, free: 6.945 MB / 379.1 MB Notification: Performance of pre-optimization done (n=71): time 6.242e-06/0.6153, allocations: 0 / 488.4 MB, free: 6.945 MB / 379.1 MB Notification: Performance of matching and sorting (n=71): time 0.002183/0.6175, allocations: 0.5882 MB / 489 MB, free: 6.348 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.6176, allocations: 115.3 kB / 489.1 MB, free: 6.211 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.618, allocations: 258 kB / 489.3 MB, free: 5.953 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.6181, allocations: 25.7 kB / 489.3 MB, free: 5.922 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.6185, allocations: 0.5081 MB / 489.9 MB, free: 5.406 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.6187, allocations: 228.5 kB / 490.1 MB, free: 5.18 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.6188, allocations: 4 kB / 490.1 MB, free: 5.176 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.619, allocations: 346.8 kB / 490.4 MB, free: 4.828 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.6195, allocations: 202.6 kB / 490.6 MB, free: 4.629 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/0.6203, allocations: 0.5144 MB / 491.1 MB, free: 3.969 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.6221, allocations: 444.1 kB / 491.6 MB, free: 3.535 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.6221, allocations: 4 kB / 491.6 MB, free: 3.531 MB / 379.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002976/0.6251, allocations: 0.8867 MB / 492.5 MB, free: 2.637 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.6252, allocations: 12 kB / 492.5 MB, free: 2.625 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.6252, allocations: 8 kB / 492.5 MB, free: 2.617 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/0.6253, allocations: 16 kB / 492.5 MB, free: 2.602 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.6269, allocations: 235.6 kB / 492.7 MB, free: 2.371 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.299e-05/0.6269, allocations: 23.92 kB / 492.7 MB, free: 2.348 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/0.6278, allocations: 87.2 kB / 492.8 MB, free: 2.262 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6279, allocations: 47.98 kB / 492.9 MB, free: 2.215 MB / 379.1 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.0002124/0.6281, allocations: 141.5 kB / 493 MB, free: 2.07 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.6283, allocations: 43.44 kB / 493.1 MB, free: 2.027 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.6308, allocations: 0.7039 MB / 493.8 MB, free: 1.312 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.6308, allocations: 8 kB / 493.8 MB, free: 1.305 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6308, allocations: 0 / 493.8 MB, free: 1.305 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6309, allocations: 15.08 kB / 493.8 MB, free: 1.293 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.6351, allocations: 1.489 MB / 495.3 MB, free: 15.76 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.6352, allocations: 4 kB / 495.3 MB, free: 15.76 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.6364, allocations: 151.8 kB / 495.4 MB, free: 15.61 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.6365, allocations: 4 kB / 495.4 MB, free: 15.61 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-05/0.6365, allocations: 4 kB / 495.4 MB, free: 15.6 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.6366, allocations: 4 kB / 495.4 MB, free: 15.6 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6366, allocations: 4 kB / 495.4 MB, free: 15.59 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.6397, allocations: 1.185 MB / 496.6 MB, free: 14.38 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.64, allocations: 136.4 kB / 496.8 MB, free: 14.23 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.6401, allocations: 0 / 496.8 MB, free: 14.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006498/0.6407, allocations: 20.05 kB / 496.8 MB, free: 14.21 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6409, allocations: 48.61 kB / 496.8 MB, free: 14.16 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.641, allocations: 20 kB / 496.8 MB, free: 14.14 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002964/0.6413, allocations: 186 kB / 497 MB, free: 13.96 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6413, allocations: 0 / 497 MB, free: 13.96 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001317/0.6426, allocations: 223.1 kB / 497.2 MB, free: 13.74 MB / 395.1 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.0003637/0.643, allocations: 143.1 kB / 497.4 MB, free: 13.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.6455, allocations: 0.5932 MB / 498 MB, free: 13 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.6456, allocations: 0 / 498 MB, free: 13 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.6468, allocations: 278.9 kB / 498.2 MB, free: 12.73 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.6477, allocations: 16.78 kB / 498.3 MB, free: 12.71 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009554/0.6573, allocations: 1.579 MB / 499.8 MB, free: 11.09 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.6587, allocations: 0.9439 MB / 0.4891 GB, free: 10.12 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.6593, allocations: 63.42 kB / 0.4891 GB, free: 10.06 MB / 395.1 MB Notification: Performance of SimCode: time 1.813e-06/0.6594, allocations: 0 / 0.4891 GB, free: 10.06 MB / 395.1 MB Notification: Performance of Templates: time 0.02106/0.6804, allocations: 7.709 MB / 0.4966 GB, free: 2.367 MB / 395.1 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