Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.0015/0.0015, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001854/0.001854, allocations: 214.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 59.92 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004584/0.3472, allocations: 3.353 MB / 400.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3489, allocations: 0.9306 MB / 401.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.3491, allocations: 10.97 kB / 401.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.3493, allocations: 84.95 kB / 401.2 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.3497, allocations: 136.5 kB / 401.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3501, allocations: 174.7 kB / 401.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006496/0.3507, allocations: 0.6062 MB / 402.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.351, allocations: 136.7 kB / 402.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.3514, allocations: 232.1 kB / 402.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.3517, allocations: 217.4 kB / 402.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3518, allocations: 54.31 kB / 402.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3519, allocations: 55.22 kB / 402.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.352, allocations: 118.1 kB / 403 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.3523, allocations: 218.3 kB / 403.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.353, allocations: 0.6239 MB / 403.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.353, allocations: 5.219 kB / 403.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.353, allocations: 3.938 kB / 403.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.353, allocations: 3.938 kB / 403.8 MB, free: 5.148 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001539/0.3545, allocations: 0.8333 MB / 404.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.3546, allocations: 12.8 kB / 404.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3547, allocations: 56.89 kB / 404.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.3552, allocations: 307.2 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3552, allocations: 31.78 kB / 405 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.3553, allocations: 44.42 kB / 405.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.3561, allocations: 481.4 kB / 405.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3562, allocations: 2.031 kB / 405.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.3562, allocations: 20.83 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.3562, allocations: 9.625 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.3568, allocations: 314.5 kB / 405.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.3589, allocations: 1.597 MB / 407.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.3596, allocations: 353 kB / 407.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.3601, allocations: 251.7 kB / 408.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3602, allocations: 5.016 kB / 408.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.3607, allocations: 295.3 kB / 408.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.3607, allocations: 0 / 408.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.00243/0.3631, allocations: 0.7714 MB / 409.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3631, allocations: 91.67 kB / 409.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.3635, allocations: 296.3 kB / 409.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3635, allocations: 33.27 kB / 409.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3637, allocations: 223.3 kB / 409.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3638, allocations: 146.9 kB / 409.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3639, allocations: 82.94 kB / 410 MB, free: 1.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.364, allocations: 350.4 kB / 410.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.3643, allocations: 122.6 kB / 410.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.3646, allocations: 275.9 kB / 410.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.3651, allocations: 377.5 kB / 411.1 MB, free: 456 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3651, allocations: 1.25 kB / 411.1 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008763/0.366, allocations: 0.508 MB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.366, allocations: 6.75 kB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.366, allocations: 4.031 kB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.3666, allocations: 151.4 kB / 411.8 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3668, allocations: 62.66 kB / 411.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.3701, allocations: 2.386 MB / 414.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.3705, allocations: 35.95 kB / 414.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.3705, allocations: 22.72 kB / 414.3 MB, free: 14.05 MB / 334.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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.3708, allocations: 179.2 kB / 414.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.3708, allocations: 37.86 kB / 414.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.922e-05/0.3709, allocations: 47.45 kB / 414.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.371, allocations: 3.375 kB / 414.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.371, allocations: 5 kB / 414.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.371, allocations: 7.922 kB / 414.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.3726, allocations: 0.8621 MB / 415.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3726, allocations: 0 / 415.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3728, allocations: 35.11 kB / 415.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.3732, allocations: 145.9 kB / 415.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.3732, allocations: 15.39 kB / 415.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.3765, allocations: 2.378 MB / 418 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3765, allocations: 1 kB / 418 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3778, allocations: 0.7096 MB / 418.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.378, allocations: 76.02 kB / 418.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.3781, allocations: 10.53 kB / 418.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.3784, allocations: 18.69 kB / 418.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3785, allocations: 35.39 kB / 418.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.3785, allocations: 13.38 kB / 418.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.3788, allocations: 213 kB / 419 MB, free: 10.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3788, allocations: 0 / 419 MB, free: 10.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007326/0.3795, allocations: 144.3 kB / 419.2 MB, free: 10.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.3797, allocations: 113.7 kB / 419.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3809, allocations: 0.5241 MB / 419.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3809, allocations: 0 / 419.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.3815, allocations: 361.8 kB / 420.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3821, allocations: 73.19 kB / 420.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3841, allocations: 0.8686 MB / 421.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3844, allocations: 227 kB / 421.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.3846, allocations: 30.78 kB / 421.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.3847, allocations: 33.19 kB / 421.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3847, allocations: 0 / 421.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of Templates: time 0.01425/0.3989, allocations: 6.853 MB / 428.2 MB, free: 3.008 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.013054961338639]