Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") [: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.002228/0.002232, allocations: 173.9 kB / 8.149 MB, free: 2.18 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.706/1.706, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001256/0.001255, allocations: 94.72 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.148e-05, allocations: 4 kB / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2302, allocations: 47.56 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.3635, allocations: 86.9 MB / 448.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.3639, allocations: 83.94 kB / 448.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04573/0.4097, allocations: 10.55 MB / 459.4 MB, free: 4.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.871e-05/0.4098, allocations: 19.98 kB / 459.4 MB, free: 4.527 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002568/0.4124, allocations: 0.8641 MB / 460.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4124, allocations: 8.031 kB / 460.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.4127, allocations: 91 kB / 460.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4141, allocations: 497.9 kB / 460.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.4142, allocations: 24 kB / 460.9 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.4143, allocations: 36 kB / 460.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001509/0.4158, allocations: 454.5 kB / 461.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.4175, allocations: 0.5774 MB / 461.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.4175, allocations: 3.906 kB / 461.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.4176, allocations: 0 / 461.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.4177, allocations: 16 kB / 462 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/0.424, allocations: 2.465 MB / 464.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4253, allocations: 428.4 kB / 464.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/0.4259, allocations: 242.5 kB / 465.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.426, allocations: 4.438 kB / 465.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007169/0.4267, allocations: 291.9 kB / 465.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 3.526e-06/0.4267, allocations: 0 / 465.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.001468/0.4282, allocations: 464.7 kB / 465.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.4283, allocations: 123.3 kB / 465.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.4291, allocations: 361 kB / 466.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.4292, allocations: 33.7 kB / 466.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.4295, allocations: 302.6 kB / 466.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.4297, allocations: 154.9 kB / 466.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.4297, allocations: 0 / 466.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4299, allocations: 338.8 kB / 467.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.4304, allocations: 161.3 kB / 467.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.4311, allocations: 316.4 kB / 467.6 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.4316, allocations: 177.4 kB / 467.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.4316, allocations: 4 kB / 467.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00156/0.4332, allocations: 0.5481 MB / 468.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006149/0.4338, allocations: 1.569 MB / 469.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4339, allocations: 4 kB / 469.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/0.4347, allocations: 148.7 kB / 470 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/0.4354, allocations: 83.84 kB / 470.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.4395, allocations: 2.038 MB / 472.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.4403, allocations: 69.34 kB / 472.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.4404, allocations: 24 kB / 472.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4404, allocations: 10.5 kB / 472.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001436/0.4418, allocations: 495.4 kB / 472.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4419, allocations: 4.5 kB / 472.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/0.4425, allocations: 140.7 kB / 472.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.4432, allocations: 83.83 kB / 472.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.4472, allocations: 2.038 MB / 475 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.4479, allocations: 55.81 kB / 475 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.448, allocations: 20.14 kB / 475.1 MB, free: 4.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.4482, allocations: 72.52 kB / 475.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.4484, allocations: 59.34 kB / 475.2 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.4487, allocations: 57.06 kB / 475.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4487, allocations: 7.938 kB / 475.2 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4487, allocations: 0 / 475.2 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4487, allocations: 3.984 kB / 475.2 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.4517, allocations: 1.174 MB / 476.4 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4518, allocations: 0 / 476.4 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.4522, allocations: 47.92 kB / 476.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006999/0.4529, allocations: 136.7 kB / 476.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.453, allocations: 4 kB / 476.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.457, allocations: 2.034 MB / 478.6 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.4571, allocations: 4.062 kB / 478.6 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002177/0.4593, allocations: 0.8061 MB / 479.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.4597, allocations: 180.3 kB / 479.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.4599, allocations: 4 kB / 479.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.4606, allocations: 39.95 kB / 479.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4608, allocations: 40.44 kB / 479.7 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.4608, allocations: 23.91 kB / 479.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005531/0.4614, allocations: 267.2 kB / 480 MB, free: 15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001371/0.4628, allocations: 283.2 kB / 480.3 MB, free: 14.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002826/0.4631, allocations: 117.2 kB / 480.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.4659, allocations: 0.9915 MB / 481.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.466, allocations: 4.062 kB / 481.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.467, allocations: 363.5 kB / 481.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.4679, allocations: 81.84 kB / 481.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.4713, allocations: 0.879 MB / 482.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/0.4723, allocations: 0.9727 MB / 483.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.935e-06/0.4723, allocations: 0 / 483.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of Templates: time 0.02292/0.4953, allocations: 10.43 MB / 494.1 MB, free: 0.8164 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches