Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 183.5 kB / 8.478 MB, free: 1.863 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.26/1.26, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 83.39 kB / 262.1 MB, free: 5.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.394e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0749/0.07492, allocations: 47.58 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.3091, allocations: 84.93 MB / 447.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.3094, allocations: 82.86 kB / 447.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0615/0.3709, allocations: 28.28 MB / 475.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.3709, allocations: 20 kB / 475.9 MB, free: 15.37 MB / 330.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.002492/0.3734, allocations: 1.089 MB / 476.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3735, allocations: 11.97 kB / 477 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/0.3788, allocations: 0.7632 MB / 477.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3799, allocations: 461.2 kB / 478.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.38, allocations: 36 kB / 478.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3801, allocations: 71.89 kB / 478.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001872/0.382, allocations: 1.009 MB / 479.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.3835, allocations: 0.8887 MB / 480.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.3835, allocations: 0 / 480.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.3836, allocations: 0 / 480.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.3837, allocations: 28 kB / 480.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.3902, allocations: 4.382 MB / 484.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009612/0.3912, allocations: 0.6341 MB / 485.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.3915, allocations: 260.4 kB / 485.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3916, allocations: 100.5 kB / 485.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3917, allocations: 47.2 kB / 485.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.936e-06/0.3917, allocations: 4 kB / 485.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.001295/0.393, allocations: 0.5424 MB / 486.2 MB, free: 6.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3931, allocations: 111.5 kB / 486.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3933, allocations: 267.3 kB / 486.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.3934, allocations: 25.7 kB / 486.6 MB, free: 6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3936, allocations: 441.8 kB / 487 MB, free: 5.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.3938, allocations: 236.5 kB / 487.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3938, allocations: 0 / 487.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3939, allocations: 354.7 kB / 487.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.3943, allocations: 222 kB / 487.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.3948, allocations: 0.5299 MB / 488.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.3957, allocations: 342.9 kB / 488.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.3957, allocations: 4 kB / 488.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001624/0.3973, allocations: 0.8276 MB / 489.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3973, allocations: 4 kB / 489.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3974, allocations: 15.91 kB / 489.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.3974, allocations: 16 kB / 489.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/0.3983, allocations: 236.2 kB / 489.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.3984, allocations: 27.86 kB / 489.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.399, allocations: 82.97 kB / 489.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.399, allocations: 47.98 kB / 489.9 MB, free: 2.48 MB / 330.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.0001608/0.3992, allocations: 136.6 kB / 490 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3994, allocations: 43.44 kB / 490.1 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4007, allocations: 0.6683 MB / 490.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4007, allocations: 8 kB / 490.7 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4008, allocations: 8 kB / 490.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4008, allocations: 3.984 kB / 490.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.4032, allocations: 1.535 MB / 492.3 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4032, allocations: 0 / 492.3 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.404, allocations: 159.8 kB / 492.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.404, allocations: 4 kB / 492.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.4041, allocations: 11.84 kB / 492.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4041, allocations: 4 kB / 492.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4041, allocations: 0 / 492.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001537/0.4056, allocations: 1.137 MB / 493.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4058, allocations: 132.4 kB / 493.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.4059, allocations: 4 kB / 493.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.4063, allocations: 15.98 kB / 493.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4064, allocations: 44.66 kB / 493.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.4065, allocations: 23.94 kB / 493.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001794/0.4066, allocations: 183 kB / 494 MB, free: 14.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009268/0.4076, allocations: 227.1 kB / 494.2 MB, free: 14.03 MB / 346.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.0003073/0.4079, allocations: 146.7 kB / 494.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.4089, allocations: 0.6303 MB / 495 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4089, allocations: 128 / 495 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.4093, allocations: 302.4 kB / 495.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4097, allocations: 24.52 kB / 495.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.414, allocations: 1.544 MB / 496.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.4147, allocations: 1.01 MB / 497.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4148, allocations: 7.938 kB / 497.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01234/0.4271, allocations: 6.8 MB / 0.4929 GB, free: 3.551 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches