Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.002087/0.002087, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002717/0.002717, allocations: 167.1 kB / 25.02 MB, free: 9.438 MB / 18.57 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.473/1.473, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.813e-05, allocations: 6.312 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.01217/0.0122, allocations: 4.25 MB / 254.6 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.01744, allocations: 1.317 MB / 256 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007077/0.01814, allocations: 31.75 kB / 256 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.01942, allocations: 234.3 kB / 256.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.02132, allocations: 373.6 kB / 256.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.02223, allocations: 219.6 kB / 256.8 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003918/0.02615, allocations: 1.591 MB / 258.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.02768, allocations: 0.5041 MB / 258.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.03004, allocations: 0.9395 MB / 259.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.03219, allocations: 0.6936 MB / 260.5 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004687/0.03266, allocations: 160 kB / 260.7 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.03318, allocations: 168 kB / 260.8 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008348/0.03401, allocations: 450.7 kB / 261.3 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.03522, allocations: 0.495 MB / 261.8 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.03958, allocations: 2.123 MB / 263.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.03959, allocations: 4 kB / 263.9 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.03959, allocations: 0 / 263.9 MB, free: 6.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.251e-05/0.03963, allocations: 0 / 263.9 MB, free: 6.309 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006809/0.04644, allocations: 1.853 MB / 265.8 MB, free: 4.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.04649, allocations: 11.98 kB / 265.8 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.04712, allocations: 220 kB / 266 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.04946, allocations: 0.8457 MB / 266.8 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.04958, allocations: 74.36 kB / 266.9 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.04986, allocations: 100.4 kB / 267 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.05357, allocations: 1.482 MB / 268.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.0536, allocations: 3.938 kB / 268.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.05371, allocations: 36 kB / 268.5 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.05378, allocations: 53.92 kB / 268.6 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.05622, allocations: 1.276 MB / 269.9 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/0.06326, allocations: 3.804 MB / 273.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.06512, allocations: 1.012 MB / 274.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.06651, allocations: 0.6771 MB / 275.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.06656, allocations: 12.66 kB / 275.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.06769, allocations: 0.64 MB / 276 MB, free: 9.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.215e-06/0.0677, allocations: 0 / 276 MB, free: 9.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.007616/0.07531, allocations: 2.673 MB / 278.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.07541, allocations: 111.5 kB / 278.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.07666, allocations: 0.7855 MB / 279.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.07674, allocations: 41.7 kB / 279.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/0.07746, allocations: 488.7 kB / 280.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.07773, allocations: 261.8 kB / 280.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.078, allocations: 138.6 kB / 280.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.07825, allocations: 390.8 kB / 280.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.07897, allocations: 393.7 kB / 281.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.07986, allocations: 0.5919 MB / 281.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.08145, allocations: 0.921 MB / 282.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.08146, allocations: 4 kB / 282.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002541/0.084, allocations: 1.321 MB / 284.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.08402, allocations: 6.656 kB / 284.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.08403, allocations: 4 kB / 284.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.0853, allocations: 472.3 kB / 284.5 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.0857, allocations: 99.88 kB / 284.6 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008981/0.09468, allocations: 5.398 MB / 290 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.09535, allocations: 83.64 kB / 290.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.09544, allocations: 24 kB / 290.1 MB, free: 11.52 MB / 282.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.000819/0.09626, allocations: 459.5 kB / 290.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.09652, allocations: 119.4 kB / 290.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.09679, allocations: 104.3 kB / 290.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.09681, allocations: 11.98 kB / 290.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.09682, allocations: 3.938 kB / 290.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.09683, allocations: 3.938 kB / 290.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.1013, allocations: 2.298 MB / 293.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1013, allocations: 0 / 293.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.1016, allocations: 63.91 kB / 293.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.1027, allocations: 456.8 kB / 293.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.1028, allocations: 15.98 kB / 293.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008489/0.1113, allocations: 5.375 MB / 299 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.1113, allocations: 7.938 kB / 299 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.1147, allocations: 1.909 MB / 301 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.1152, allocations: 211.2 kB / 301.2 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.1153, allocations: 12 kB / 301.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.1158, allocations: 43.95 kB / 301.2 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.116, allocations: 80.5 kB / 301.3 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/0.1163, allocations: 16 kB / 301.3 MB, free: 176 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.1095/0.2258, allocations: 0.5626 MB / 301.9 MB, free: 58.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2258, allocations: 2.406 kB / 301.9 MB, free: 58.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001536/0.2273, allocations: 346.2 kB / 302.2 MB, free: 58.14 MB / 282.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002984/0.2276, allocations: 119.5 kB / 302.3 MB, free: 58.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.2301, allocations: 1.255 MB / 303.6 MB, free: 57.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.2301, allocations: 0 / 303.6 MB, free: 57.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.2316, allocations: 0.799 MB / 304.4 MB, free: 57.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.233, allocations: 263.2 kB / 304.6 MB, free: 57.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/0.2378, allocations: 2.327 MB / 307 MB, free: 56.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.239, allocations: 0.7286 MB / 307.7 MB, free: 56.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.2395, allocations: 139 kB / 307.8 MB, free: 56.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.2397, allocations: 60.95 kB / 307.9 MB, free: 56.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.794e-06/0.2397, allocations: 3.438 kB / 307.9 MB, free: 56.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02527/0.265, allocations: 18.44 MB / 326.3 MB, free: 42.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.110239205998369]