Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [: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.001553/0.001553, allocations: 196.3 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008376/0.0008379, allocations: 97.83 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.207e-06/9.237e-06, allocations: 0 / 343.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 51.48 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.363, allocations: 84.44 MB / 479.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.3632, allocations: 80.45 kB / 479.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03172/0.395, allocations: 13.5 MB / 492.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.802e-05/0.395, allocations: 24.16 kB / 492.7 MB, free: 13.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001526/0.3966, allocations: 0.9562 MB / 493.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3966, allocations: 8.031 kB / 493.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.3971, allocations: 134.8 kB / 493.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009533/0.398, allocations: 0.6259 MB / 494.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3981, allocations: 24 kB / 494.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/0.3982, allocations: 36 kB / 494.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001036/0.3992, allocations: 0.6925 MB / 495.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4004, allocations: 0.8045 MB / 496 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.4005, allocations: 7.906 kB / 496 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.4005, allocations: 0 / 496 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.4006, allocations: 33.25 kB / 496 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.4046, allocations: 2.713 MB / 498.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.4051, allocations: 457.6 kB / 499.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.4057, allocations: 351.6 kB / 499.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4058, allocations: 4.328 kB / 499.5 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.4062, allocations: 338.4 kB / 499.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/0.4063, allocations: 0 / 499.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001136/0.4074, allocations: 0.6268 MB / 0.4887 GB, free: 7.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.4075, allocations: 110.1 kB / 0.4888 GB, free: 7.238 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.408, allocations: 490.5 kB / 0.4893 GB, free: 6.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.4081, allocations: 37.17 kB / 0.4893 GB, free: 6.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.4083, allocations: 291.4 kB / 0.4896 GB, free: 6.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4084, allocations: 131.5 kB / 0.4897 GB, free: 6.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.4084, allocations: 0 / 0.4897 GB, free: 6.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4086, allocations: 364.9 kB / 0.4901 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.4089, allocations: 201.6 kB / 0.4903 GB, free: 5.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.4092, allocations: 325.7 kB / 0.4906 GB, free: 5.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4096, allocations: 224.1 kB / 0.4908 GB, free: 5.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4096, allocations: 0 / 0.4908 GB, free: 5.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000968/0.4105, allocations: 0.6809 MB / 0.4915 GB, free: 5.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4106, allocations: 4 kB / 0.4915 GB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4106, allocations: 4.469 kB / 0.4915 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/0.4111, allocations: 205.6 kB / 0.4917 GB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.4114, allocations: 71.89 kB / 0.4917 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.414, allocations: 2.387 MB / 0.4941 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.4144, allocations: 43.67 kB / 0.4941 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.4144, allocations: 13.88 kB / 0.4941 GB, free: 2.672 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: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.4146, allocations: 127.7 kB / 0.4942 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.4147, allocations: 63.23 kB / 0.4943 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.4148, allocations: 57.62 kB / 0.4944 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4148, allocations: 8 kB / 0.4944 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4148, allocations: 4 kB / 0.4944 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.4149, allocations: 4.125 kB / 0.4944 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.417, allocations: 1.488 MB / 0.4958 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.417, allocations: 1.594 kB / 0.4958 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.4173, allocations: 47.91 kB / 0.4959 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.4177, allocations: 197.5 kB / 0.4961 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.4178, allocations: 12.02 kB / 0.4961 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.4202, allocations: 2.358 MB / 0.4984 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4203, allocations: 0 / 0.4984 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00133/0.4216, allocations: 1.041 MB / 0.4994 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.4218, allocations: 192.3 kB / 0.4996 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.4219, allocations: 7.984 kB / 0.4996 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.4223, allocations: 19.98 kB / 0.4996 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.4224, allocations: 31.95 kB / 0.4996 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.4224, allocations: 15.98 kB / 0.4997 GB, free: 13.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004337/0.4228, allocations: 378.9 kB / 0.5 GB, free: 12.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.4234, allocations: 191.3 kB / 0.5002 GB, free: 12.53 MB / 378.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.4236, allocations: 127.5 kB / 0.5003 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009455/0.4246, allocations: 0.626 MB / 0.5009 GB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4246, allocations: 8.109 kB / 0.5009 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.4251, allocations: 406.7 kB / 0.5013 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.4257, allocations: 114.7 kB / 0.5014 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.4277, allocations: 1.082 MB / 0.5025 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.4285, allocations: 1.123 MB / 0.5036 GB, free: 8.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4285, allocations: 1.312 kB / 0.5036 GB, free: 8.977 MB / 378.7 MB Notification: Performance of Templates: time 0.01411/0.4426, allocations: 8.194 MB / 0.5116 GB, free: 0.9531 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches