Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009573/0.0009573, allocations: 84.34 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00485/0.00485, allocations: 154.2 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8587/0.8587, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.151e-05, allocations: 6.922 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003899/0.003921, allocations: 4.197 MB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.005322, allocations: 1.273 MB / 331.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.005513, allocations: 27.81 kB / 331.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.005769, allocations: 178.6 kB / 331.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.00641, allocations: 377.5 kB / 331.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.006672, allocations: 223.5 kB / 332.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.00763, allocations: 1.692 MB / 333.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.00814, allocations: 0.5754 MB / 334.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.009078, allocations: 1.025 MB / 335.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.009713, allocations: 0.7832 MB / 336.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.009838, allocations: 180 kB / 336.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.01001, allocations: 180 kB / 336.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.01026, allocations: 0.4946 MB / 337 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.0106, allocations: 0.5495 MB / 337.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.01186, allocations: 2.314 MB / 339.8 MB, free: 1.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01186, allocations: 7.984 kB / 339.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01186, allocations: 0 / 339.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.01187, allocations: 0 / 339.9 MB, free: 1.25 MB / 298.7 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.001955/0.01383, allocations: 2.045 MB / 341.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.01386, allocations: 11.98 kB / 341.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.01423, allocations: 219.9 kB / 342.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.01543, allocations: 0.9819 MB / 343.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.01547, allocations: 78.38 kB / 343.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.01558, allocations: 108.4 kB / 343.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.01706, allocations: 1.575 MB / 344.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.01708, allocations: 11.88 kB / 344.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.01715, allocations: 44 kB / 344.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.01719, allocations: 46.05 kB / 345 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.01862, allocations: 1.429 MB / 346.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.02257, allocations: 4.318 MB / 350.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.02347, allocations: 0.9379 MB / 351.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007243/0.02419, allocations: 0.6848 MB / 352.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.02422, allocations: 8.656 kB / 352.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.02484, allocations: 0.6374 MB / 353 MB, free: 3.766 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.723e-06/0.02484, allocations: 0 / 353 MB, free: 3.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003168/0.02801, allocations: 2.348 MB / 355.3 MB, free: 1.402 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.02806, allocations: 89.77 kB / 355.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.02877, allocations: 0.9306 MB / 356.3 MB, free: 368 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.02881, allocations: 49.64 kB / 356.4 MB, free: 312 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.02933, allocations: 0.5399 MB / 356.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.02945, allocations: 245.9 kB / 357.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.02958, allocations: 126.7 kB / 357.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.02966, allocations: 334 kB / 357.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.03006, allocations: 417.6 kB / 358 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.03054, allocations: 0.5737 MB / 358.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.03139, allocations: 0.9444 MB / 359.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.03139, allocations: 4 kB / 359.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001219/0.03261, allocations: 1.283 MB / 360.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.03263, allocations: 12.02 kB / 360.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.03263, allocations: 4 kB / 360.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.03316, allocations: 403.2 kB / 361.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.03341, allocations: 119.7 kB / 361.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.03695, allocations: 4.318 MB / 365.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.0372, allocations: 83.64 kB / 365.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.03723, allocations: 24 kB / 365.8 MB, free: 6.66 MB / 330.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: 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_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) * 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.0004166/0.03765, allocations: 499.5 kB / 366.3 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.03773, allocations: 95.39 kB / 366.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.03784, allocations: 120.5 kB / 366.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.03785, allocations: 11.94 kB / 366.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.03785, allocations: 0 / 366.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.03786, allocations: 3.984 kB / 366.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.04004, allocations: 2.278 MB / 368.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.04004, allocations: 4 kB / 368.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.04024, allocations: 87.81 kB / 368.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/0.04071, allocations: 388.7 kB / 369.3 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.04074, allocations: 12 kB / 369.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003386/0.04412, allocations: 4.293 MB / 373.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.04413, allocations: 3.938 kB / 373.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.04583, allocations: 1.94 MB / 375.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.04608, allocations: 219.2 kB / 375.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.04614, allocations: 15.94 kB / 375.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.04635, allocations: 40.05 kB / 375.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.04647, allocations: 84.48 kB / 375.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.0465, allocations: 27.98 kB / 375.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005177/0.04701, allocations: 0.6707 MB / 376.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04701, allocations: 0 / 376.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.04759, allocations: 351.1 kB / 376.9 MB, free: 11.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0001373/0.04773, allocations: 133.3 kB / 377 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.04898, allocations: 1.242 MB / 378.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.04898, allocations: 4.125 kB / 378.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009515/0.04993, allocations: 0.7752 MB / 379 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.0505, allocations: 239 kB / 379.3 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.05329, allocations: 2.659 MB / 381.9 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.05381, allocations: 0.7765 MB / 382.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.05394, allocations: 64.48 kB / 382.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05394, allocations: 0 / 382.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of Templates: time 0.01667/0.0706, allocations: 22.7 MB / 405.5 MB, free: 14.75 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.873318193480372]