Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009883/0.0009883, allocations: 168.1 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9189/0.9189, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.336e-05, allocations: 4.844 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002949/0.002962, allocations: 3.435 MB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.004003, allocations: 0.9304 MB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.004131, allocations: 11.94 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.004286, allocations: 67.3 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.004499, allocations: 142.7 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.004747, allocations: 159.7 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.005097, allocations: 0.5367 MB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.00527, allocations: 134.9 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.005535, allocations: 315.2 kB / 279.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.005722, allocations: 163.5 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.005769, allocations: 48 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.005839, allocations: 48 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.005904, allocations: 111.5 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.006009, allocations: 159.6 kB / 279.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.006287, allocations: 354.6 kB / 280.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.006289, allocations: 0 / 280.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006289, allocations: 0 / 280.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006293, allocations: 0 / 280.1 MB, free: 10.66 MB / 266.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.0007833/0.007076, allocations: 0.6605 MB / 280.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.007104, allocations: 8.031 kB / 280.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.007255, allocations: 76.86 kB / 280.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.007496, allocations: 245.6 kB / 281 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.007517, allocations: 33.38 kB / 281.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.007558, allocations: 40.36 kB / 281.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.00783, allocations: 326.7 kB / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.007843, allocations: 192 / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.007866, allocations: 20.12 kB / 281.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.007875, allocations: 11.98 kB / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.007994, allocations: 94.88 kB / 281.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.00895, allocations: 1.064 MB / 282.6 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.009119, allocations: 147.1 kB / 282.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.009251, allocations: 97.25 kB / 282.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.009268, allocations: 4.234 kB / 282.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.009441, allocations: 203.7 kB / 283.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/0.009442, allocations: 0 / 283.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005601/0.01, allocations: 318.9 kB / 283.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.01004, allocations: 114.7 kB / 283.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01019, allocations: 286.9 kB / 283.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01021, allocations: 33.7 kB / 283.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.01029, allocations: 197.3 kB / 284 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.01034, allocations: 107.1 kB / 284.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.0104, allocations: 70.03 kB / 284.2 MB, free: 6.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.01048, allocations: 350.7 kB / 284.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.01052, allocations: 32.73 kB / 284.5 MB, free: 5.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01062, allocations: 187.2 kB / 284.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.01079, allocations: 237.4 kB / 284.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01079, allocations: 0 / 284.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002344/0.01103, allocations: 239.2 kB / 285.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.01104, allocations: 12 kB / 285.2 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01104, allocations: 4 kB / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.01119, allocations: 72.67 kB / 285.3 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01131, allocations: 55.91 kB / 285.3 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008375/0.01214, allocations: 1.552 MB / 286.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.01225, allocations: 43.72 kB / 286.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01226, allocations: 11.98 kB / 286.9 MB, free: 3.316 MB / 266.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: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.01235, allocations: 140.5 kB / 287.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01238, allocations: 27.97 kB / 287.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.01242, allocations: 39.86 kB / 287.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01242, allocations: 4 kB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01242, allocations: 4.031 kB / 287.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01243, allocations: 15.92 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.0127, allocations: 323.4 kB / 287.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0127, allocations: 0 / 287.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.01291, allocations: 35.92 kB / 287.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.01302, allocations: 52.84 kB / 287.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01303, allocations: 8 kB / 287.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007459/0.01378, allocations: 1.559 MB / 289.1 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01378, allocations: 8.031 kB / 289.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.01405, allocations: 260.2 kB / 289.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.01411, allocations: 43.69 kB / 289.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01414, allocations: 11.97 kB / 289.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.01421, allocations: 15.98 kB / 289.5 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.01425, allocations: 23.95 kB / 289.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.01426, allocations: 8 kB / 289.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.01433, allocations: 104.6 kB / 289.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01433, allocations: 0 / 289.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01458, allocations: 115.8 kB / 289.7 MB, free: 392 kB / 266.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 9.039e-05/0.01467, allocations: 100.3 kB / 289.8 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.01498, allocations: 320.7 kB / 290.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01498, allocations: 3.938 kB / 290.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.01513, allocations: 232.2 kB / 290.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.01528, allocations: 60.19 kB / 290.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/0.01627, allocations: 0.6888 MB / 291.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.01633, allocations: 108.6 kB / 291.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.0164, allocations: 30.97 kB / 291.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01651, allocations: 107.3 kB / 291.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01651, allocations: 0 / 291.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of Templates: time 0.006506/0.02302, allocations: 4.902 MB / 296.2 MB, free: 9.906 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5604629279114306]