Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007785/0.0007785, allocations: 92.77 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008372/0.0008373, allocations: 176 kB / 18.21 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001971, allocations: 12.56 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0712/0.07141, allocations: 50.41 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00393/0.07537, allocations: 4.154 MB / 356.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.07727, allocations: 1.192 MB / 357.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.07752, allocations: 19.88 kB / 357.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.07778, allocations: 135.1 kB / 358 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.07843, allocations: 330.3 kB / 358.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.07871, allocations: 163.9 kB / 358.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.08005, allocations: 1.806 MB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.08095, allocations: 0.9361 MB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.08137, allocations: 0.5016 MB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.08209, allocations: 0.7157 MB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.771e-05/0.0822, allocations: 72 kB / 362.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.08233, allocations: 75.94 kB / 362.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.08259, allocations: 350.7 kB / 362.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.08309, allocations: 0.6778 MB / 363.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.08425, allocations: 1.777 MB / 365.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08426, allocations: 0 / 365.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08427, allocations: 7.938 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.08428, allocations: 0 / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002218/0.0865, allocations: 1.542 MB / 366.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.08654, allocations: 8.031 kB / 366.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.08674, allocations: 151.2 kB / 367.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.08783, allocations: 0.95 MB / 368 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.08789, allocations: 78.44 kB / 368.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.08804, allocations: 112.1 kB / 368.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.09017, allocations: 1.573 MB / 369.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.0902, allocations: 11.84 kB / 369.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.433e-05/0.0903, allocations: 40 kB / 369.9 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.09035, allocations: 46.03 kB / 369.9 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.09243, allocations: 1.456 MB / 371.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/0.2154, allocations: 4.982 MB / 376.3 MB, free: 22.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2167, allocations: 1.463 MB / 377.8 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2178, allocations: 0.746 MB / 378.5 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.2178, allocations: 10.48 kB / 378.6 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000868/0.2187, allocations: 0.6256 MB / 379.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.805e-06/0.2187, allocations: 0 / 379.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005178/0.2239, allocations: 2.485 MB / 381.7 MB, free: 20.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.224, allocations: 87.69 kB / 381.8 MB, free: 19.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.225, allocations: 0.9409 MB / 382.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2251, allocations: 41.69 kB / 382.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.2254, allocations: 0.525 MB / 383.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2255, allocations: 229 kB / 383.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.2256, allocations: 67 kB / 383.5 MB, free: 18.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.2257, allocations: 334.4 kB / 383.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.2263, allocations: 430 kB / 384.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.2269, allocations: 0.5651 MB / 384.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2281, allocations: 0.9726 MB / 385.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2281, allocations: 1.219 kB / 385.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001745/0.2299, allocations: 1.316 MB / 387.2 MB, free: 16.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2299, allocations: 6.25 kB / 387.2 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2299, allocations: 6.844 kB / 387.2 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.2306, allocations: 395.4 kB / 387.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.2311, allocations: 120.1 kB / 387.7 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.2349, allocations: 4.158 MB / 391.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.2353, allocations: 77.17 kB / 391.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.2354, allocations: 29.91 kB / 391.9 MB, free: 13.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked 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 (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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004622/0.2358, allocations: 0.4925 MB / 392.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.236, allocations: 91.72 kB / 392.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.2362, allocations: 119.9 kB / 392.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2362, allocations: 6.281 kB / 392.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2362, allocations: 1.5 kB / 392.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.2362, allocations: 3.984 kB / 392.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.2392, allocations: 2.629 MB / 395.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2392, allocations: 0 / 395.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.2396, allocations: 101.4 kB / 395.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005974/0.2402, allocations: 390.4 kB / 395.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.2402, allocations: 19.64 kB / 395.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.2436, allocations: 4.1 MB / 399.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2436, allocations: 0 / 399.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.2457, allocations: 1.987 MB / 401.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.246, allocations: 291.7 kB / 402.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.2461, allocations: 12 kB / 402.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2465, allocations: 51.95 kB / 402.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2466, allocations: 76.53 kB / 402.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.2467, allocations: 23.98 kB / 402.3 MB, free: 5.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005628/0.2472, allocations: 0.6669 MB / 403 MB, free: 4.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2472, allocations: 3.938 kB / 403 MB, free: 4.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006521/0.2479, allocations: 347 kB / 403.3 MB, free: 4.207 MB / 302.1 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.248, allocations: 137 kB / 403.4 MB, free: 4.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.2495, allocations: 1.31 MB / 404.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2495, allocations: 0 / 404.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.2504, allocations: 0.8157 MB / 405.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.2513, allocations: 237.7 kB / 405.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.255, allocations: 3.157 MB / 409 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.2558, allocations: 1.354 MB / 410.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.256, allocations: 63.42 kB / 410.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of SimCode: time 6.02e-07/0.256, allocations: 0 / 410.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02332/0.2793, allocations: 21.78 MB / 432.2 MB, free: 7.352 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches