Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 170.4 kB / 8.475 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.265/1.265, allocations: 205.2 MB / 214.1 MB, free: 5.105 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.0008906/0.0008906, allocations: 87.27 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.583e-06, allocations: 4 kB / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06858/0.0686, allocations: 47.57 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.3119, allocations: 78.12 MB / 440.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.3121, allocations: 64.62 kB / 440.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02105/0.3332, allocations: 7.771 MB / 448.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.3332, allocations: 15.66 kB / 448.5 MB, free: 9.367 MB / 314.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.000931/0.3342, allocations: 0.7309 MB / 449.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3342, allocations: 11.34 kB / 449.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.3343, allocations: 62.09 kB / 449.3 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3347, allocations: 349.3 kB / 449.7 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3347, allocations: 15.56 kB / 449.7 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.3348, allocations: 34.75 kB / 449.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004395/0.3353, allocations: 269.4 kB / 450 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.3358, allocations: 390 kB / 450.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3358, allocations: 0 / 450.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.3358, allocations: 3.844 kB / 450.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3359, allocations: 11.53 kB / 450.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.338, allocations: 1.633 MB / 452 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3383, allocations: 177.2 kB / 452.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3384, allocations: 114.9 kB / 452.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3384, allocations: 7.766 kB / 452.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3385, allocations: 42.38 kB / 452.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.383e-06/0.3385, allocations: 0 / 452.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001086/0.3396, allocations: 0.7052 MB / 453 MB, free: 6.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3396, allocations: 80.95 kB / 453.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3399, allocations: 301.6 kB / 453.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3399, allocations: 29.69 kB / 453.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.34, allocations: 253 kB / 453.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.34, allocations: 104.7 kB / 453.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.34, allocations: 3.938 kB / 453.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.3401, allocations: 352.2 kB / 454.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3402, allocations: 85.59 kB / 454.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3404, allocations: 157.7 kB / 454.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3406, allocations: 115.8 kB / 454.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3406, allocations: 0 / 454.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005811/0.3412, allocations: 375.2 kB / 454.9 MB, free: 5.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.3412, allocations: 7.594 kB / 454.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3412, allocations: 3.844 kB / 454.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.3415, allocations: 82.5 kB / 454.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.3418, allocations: 85.39 kB / 455 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.3435, allocations: 2.731 MB / 457.8 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.3438, allocations: 15.53 kB / 457.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3438, allocations: 15.44 kB / 457.8 MB, free: 3.027 MB / 314.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 8.015e-05/0.3439, allocations: 112.8 kB / 457.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.344, allocations: 38.91 kB / 457.9 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.344, allocations: 49.84 kB / 458 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3441, allocations: 3.875 kB / 458 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3441, allocations: 3.938 kB / 458 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3441, allocations: 0 / 458 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000996/0.3451, allocations: 0.8253 MB / 458.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3451, allocations: 4.094 kB / 458.8 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3453, allocations: 50.56 kB / 458.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.3455, allocations: 79.23 kB / 458.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3456, allocations: 7.281 kB / 459 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.3476, allocations: 2.73 MB / 461.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3476, allocations: 0 / 461.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006623/0.3483, allocations: 0.5615 MB / 462.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.3484, allocations: 115.8 kB / 462.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.3485, allocations: 3.969 kB / 462.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.3488, allocations: 27.27 kB / 462.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3489, allocations: 19.38 kB / 462.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3489, allocations: 15.48 kB / 462.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001977/0.3491, allocations: 230.7 kB / 462.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.3497, allocations: 102.4 kB / 462.7 MB, free: 15.2 MB / 330.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.3498, allocations: 102.1 kB / 462.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.3505, allocations: 454.3 kB / 463.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3505, allocations: 3.719 kB / 463.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.3509, allocations: 343.1 kB / 463.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3512, allocations: 34.95 kB / 463.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3525, allocations: 0.7013 MB / 464.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.353, allocations: 0.8687 MB / 465.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.353, allocations: 0 / 465.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Templates: time 0.008398/0.3614, allocations: 4.002 MB / 469.2 MB, free: 11.48 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches