Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.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_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 176.2 kB / 8.151 MB, free: 2.207 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.64/1.64, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 91.16 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.864e-06/7.975e-06, allocations: 0 / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 47.56 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.3807, allocations: 79.7 MB / 441.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.3811, allocations: 87.92 kB / 441.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02734/0.4084, allocations: 5.949 MB / 447.6 MB, free: 384 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.4085, allocations: 15.98 kB / 447.6 MB, free: 368 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001472/0.41, allocations: 0.6067 MB / 448.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.41, allocations: 8.031 kB / 448.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.4102, allocations: 51.44 kB / 448.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.4109, allocations: 331.6 kB / 448.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.4109, allocations: 12 kB / 448.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.411, allocations: 23.91 kB / 448.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007191/0.4118, allocations: 205.5 kB / 448.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/0.4126, allocations: 316.8 kB / 449.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4126, allocations: 0 / 449.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.4127, allocations: 8 kB / 449.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.4127, allocations: 9.969 kB / 449.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.4159, allocations: 1.407 MB / 450.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.4165, allocations: 187.2 kB / 450.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.417, allocations: 147.1 kB / 450.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.417, allocations: 4.234 kB / 450.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.4175, allocations: 190.1 kB / 451.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.786e-06/0.4175, allocations: 0 / 451.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.00111/0.4186, allocations: 282.4 kB / 451.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.4187, allocations: 110.8 kB / 451.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.4191, allocations: 239.3 kB / 451.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.4192, allocations: 25.7 kB / 451.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.4193, allocations: 234.8 kB / 452 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4195, allocations: 90.66 kB / 452 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.4195, allocations: 0 / 452 MB, free: 11.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4196, allocations: 326.7 kB / 452.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.4199, allocations: 78.86 kB / 452.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.4202, allocations: 189.8 kB / 452.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.4205, allocations: 99.92 kB / 452.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4205, allocations: 0 / 452.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009202/0.4215, allocations: 311.4 kB / 453 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4215, allocations: 14.03 kB / 453 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4215, allocations: 4.938 kB / 453 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.422, allocations: 80.75 kB / 453.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.4225, allocations: 55.91 kB / 453.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.4249, allocations: 1.591 MB / 454.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.4253, allocations: 23.75 kB / 454.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.4253, allocations: 20 kB / 454.8 MB, free: 8.703 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0001435/0.4255, allocations: 49.62 kB / 454.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4256, allocations: 35.62 kB / 454.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.4258, allocations: 38.97 kB / 454.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4258, allocations: 6.719 kB / 454.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4258, allocations: 0 / 454.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4258, allocations: 0.8594 kB / 454.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.4268, allocations: 0.5113 MB / 455.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4268, allocations: 3.938 kB / 455.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.4271, allocations: 36 kB / 455.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003848/0.4275, allocations: 76.73 kB / 455.6 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.4276, allocations: 7.984 kB / 455.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.43, allocations: 1.592 MB / 457.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.43, allocations: 0 / 457.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001322/0.4314, allocations: 444.6 kB / 457.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.4316, allocations: 136.6 kB / 457.7 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.4317, allocations: 8.906 kB / 457.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.432, allocations: 15.92 kB / 457.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.4321, allocations: 19.97 kB / 457.8 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.4322, allocations: 15.98 kB / 457.8 MB, free: 5.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002874/0.4325, allocations: 179.1 kB / 458 MB, free: 5.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005778/0.4331, allocations: 95.69 kB / 458.1 MB, free: 5.234 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0002138/0.4333, allocations: 111.2 kB / 458.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4343, allocations: 329.5 kB / 458.5 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4343, allocations: 0.9375 kB / 458.5 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.4349, allocations: 238.6 kB / 458.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4353, allocations: 43.8 kB / 458.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.4371, allocations: 0.4982 MB / 459.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000634/0.4378, allocations: 0.8456 MB / 460.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4378, allocations: 0 / 460.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of Templates: time 0.01259/0.4504, allocations: 5.655 MB / 465.8 MB, free: 13.48 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches