Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [: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.00125/0.001249, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009236/0.0009237, allocations: 92.27 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.412e-06, allocations: 0 / 343.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09016, allocations: 51.49 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.3251, allocations: 81.81 MB / 476.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3254, allocations: 84.2 kB / 476.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0154/0.3408, allocations: 6.264 MB / 482.8 MB, free: 6.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.3408, allocations: 8 kB / 482.8 MB, free: 6.125 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008621/0.3417, allocations: 0.6308 MB / 483.4 MB, free: 5.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3418, allocations: 8.031 kB / 483.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.342, allocations: 84 kB / 483.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.3425, allocations: 333.6 kB / 483.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3425, allocations: 15.88 kB / 483.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.3425, allocations: 20 kB / 483.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003652/0.3429, allocations: 211.8 kB / 484.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.3434, allocations: 326 kB / 484.4 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3434, allocations: 3.906 kB / 484.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3434, allocations: 4.875 kB / 484.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3434, allocations: 8 kB / 484.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3451, allocations: 1.42 MB / 485.8 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3453, allocations: 190.2 kB / 486 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.3456, allocations: 145.2 kB / 486.2 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3456, allocations: 4.234 kB / 486.2 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.3458, allocations: 189.3 kB / 486.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.3458, allocations: 0 / 486.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.000547/0.3464, allocations: 288.8 kB / 486.6 MB, free: 2.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3464, allocations: 114.8 kB / 486.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3467, allocations: 243.1 kB / 487 MB, free: 2.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3467, allocations: 29.53 kB / 487 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.3468, allocations: 189.2 kB / 487.2 MB, free: 2.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.3468, allocations: 92.22 kB / 487.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.3468, allocations: 0 / 487.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.3469, allocations: 343.3 kB / 487.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.347, allocations: 74.94 kB / 487.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3472, allocations: 188 kB / 487.9 MB, free: 1.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3473, allocations: 102.9 kB / 488 MB, free: 1.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3473, allocations: 4 kB / 488 MB, free: 1.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004729/0.3478, allocations: 329.9 kB / 488.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3478, allocations: 8 kB / 488.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3478, allocations: 4.625 kB / 488.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.3481, allocations: 79.17 kB / 488.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3483, allocations: 59.41 kB / 488.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3497, allocations: 1.599 MB / 490.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3499, allocations: 31.67 kB / 490.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.35, allocations: 19.75 kB / 490.1 MB, free: 15.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.3501, allocations: 117.8 kB / 490.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.3502, allocations: 39.67 kB / 490.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.3502, allocations: 41.19 kB / 490.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3502, allocations: 4 kB / 490.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3503, allocations: 0 / 490.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3503, allocations: 0 / 490.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.3508, allocations: 0.5057 MB / 490.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3509, allocations: 3.984 kB / 490.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.351, allocations: 37.95 kB / 490.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.3513, allocations: 72.25 kB / 490.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.3513, allocations: 5.406 kB / 490.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.3527, allocations: 1.589 MB / 492.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3527, allocations: 11.72 kB / 492.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007124/0.3534, allocations: 451.6 kB / 493 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3536, allocations: 134 kB / 493.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.3536, allocations: 13.48 kB / 493.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3538, allocations: 8.094 kB / 493.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.3539, allocations: 27.12 kB / 493.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3539, allocations: 15.17 kB / 493.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001801/0.3541, allocations: 188.9 kB / 493.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.3545, allocations: 107.7 kB / 493.5 MB, free: 12.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.3547, allocations: 114.4 kB / 493.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.3553, allocations: 338.8 kB / 493.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3553, allocations: 0.9375 kB / 493.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.3556, allocations: 233 kB / 494.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3558, allocations: 31.28 kB / 494.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3569, allocations: 494.2 kB / 494.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.3573, allocations: 0.8445 MB / 495.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3573, allocations: 0 / 495.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.008117/0.3655, allocations: 4.195 MB / 499.7 MB, free: 6.434 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches