Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [: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 trunk/package.mo): time 0.001889/0.001889, allocations: 201.4 kB / 8.543 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008587/0.0008587, allocations: 97.75 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.663e-06, allocations: 0 / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09365, allocations: 51.48 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.3337, allocations: 80.73 MB / 475.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.334, allocations: 68.88 kB / 475.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01981/0.3538, allocations: 8.173 MB / 483.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.3539, allocations: 16 kB / 483.6 MB, free: 5.602 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009158/0.3548, allocations: 0.7445 MB / 484.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3548, allocations: 8.031 kB / 484.4 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.3551, allocations: 87.23 kB / 484.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3555, allocations: 352.8 kB / 484.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3555, allocations: 16 kB / 484.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.3556, allocations: 31.91 kB / 484.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004372/0.356, allocations: 274 kB / 485.1 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.3566, allocations: 381.7 kB / 485.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3566, allocations: 0 / 485.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.3566, allocations: 0 / 485.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3566, allocations: 12 kB / 485.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3588, allocations: 1.632 MB / 487.1 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3591, allocations: 175.3 kB / 487.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.3592, allocations: 115.5 kB / 487.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3592, allocations: 4.75 kB / 487.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3593, allocations: 42.25 kB / 487.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.3593, allocations: 4 kB / 487.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001081/0.3603, allocations: 0.6981 MB / 488.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.3604, allocations: 81.36 kB / 488.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.3606, allocations: 306.6 kB / 488.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3607, allocations: 25.7 kB / 488.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.3607, allocations: 252.9 kB / 488.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3608, allocations: 108.6 kB / 488.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.3608, allocations: 0 / 488.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.3609, allocations: 351 kB / 489.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.361, allocations: 91.44 kB / 489.3 MB, free: 416 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3612, allocations: 168.5 kB / 489.5 MB, free: 244 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3613, allocations: 113.6 kB / 489.6 MB, free: 172 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3613, allocations: 0 / 489.6 MB, free: 172 kB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006271/0.362, allocations: 374.2 kB / 490 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.362, allocations: 8 kB / 490 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.362, allocations: 0 / 490 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.3623, allocations: 85.94 kB / 490.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.3627, allocations: 79.2 kB / 490.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.3649, allocations: 2.727 MB / 492.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.3652, allocations: 19.83 kB / 492.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.3653, allocations: 17.44 kB / 492.9 MB, free: 12.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.55e-05/0.3654, allocations: 108.9 kB / 493 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.3655, allocations: 39.53 kB / 493.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.3655, allocations: 45.33 kB / 493.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3655, allocations: 4 kB / 493.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3656, allocations: 7.984 kB / 493.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3656, allocations: 0 / 493.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.3667, allocations: 0.8281 MB / 493.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3667, allocations: 0 / 493.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.367, allocations: 51.91 kB / 494 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.3672, allocations: 74.97 kB / 494.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3673, allocations: 7.422 kB / 494.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.3694, allocations: 2.733 MB / 496.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3694, allocations: 0 / 496.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007106/0.3701, allocations: 0.5694 MB / 497.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.3702, allocations: 115.6 kB / 497.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.3703, allocations: 0 / 497.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.3706, allocations: 27.98 kB / 497.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.3707, allocations: 19.34 kB / 497.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3707, allocations: 12.38 kB / 497.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002192/0.371, allocations: 239.5 kB / 497.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005558/0.3715, allocations: 104.2 kB / 497.9 MB, free: 8.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.3717, allocations: 111.1 kB / 498 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.3724, allocations: 453.2 kB / 498.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3724, allocations: 2.062 kB / 498.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.3729, allocations: 338.4 kB / 498.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3732, allocations: 42.45 kB / 498.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3746, allocations: 0.6835 MB / 499.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.3751, allocations: 0.8728 MB / 0.4886 GB, free: 5.629 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3751, allocations: 0 / 0.4886 GB, free: 5.629 MB / 362.7 MB Notification: Performance of Templates: time 0.008389/0.3835, allocations: 3.993 MB / 0.4925 GB, free: 1.719 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches