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.001914/0.001914, allocations: 84.69 kB / 21.43 MB, free: 296 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.002395/0.002395, allocations: 164 kB / 24.7 MB, free: 3.547 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.34/1.34, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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.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 1.463e-06/1.463e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.491e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005764/0.005789, allocations: 4.254 MB / 303.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.008532, allocations: 1.306 MB / 304.5 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.008898, allocations: 27.75 kB / 304.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.009603, allocations: 230.3 kB / 304.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009098/0.01051, allocations: 381.5 kB / 305.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.01094, allocations: 207.6 kB / 305.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.01269, allocations: 1.591 MB / 307 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.01345, allocations: 0.508 MB / 307.5 MB, free: 152 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.01461, allocations: 0.9356 MB / 308.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.01571, allocations: 0.6936 MB / 309.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.016, allocations: 167.9 kB / 309.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.01628, allocations: 164 kB / 309.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.01672, allocations: 454.7 kB / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.01738, allocations: 0.495 MB / 310.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.01955, allocations: 2.123 MB / 312.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01956, allocations: 0 / 312.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01956, allocations: 0 / 312.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.01958, allocations: 3.938 kB / 312.5 MB, free: 11.12 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003503/0.02309, allocations: 1.849 MB / 314.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.02313, allocations: 15.98 kB / 314.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.02339, allocations: 148 kB / 314.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.02474, allocations: 0.8144 MB / 315.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.02481, allocations: 78.31 kB / 315.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.02498, allocations: 100.4 kB / 315.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.02756, allocations: 1.478 MB / 317 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.02758, allocations: 3.938 kB / 317 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.0277, allocations: 43.98 kB / 317 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.02775, allocations: 42 kB / 317 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.02989, allocations: 1.288 MB / 318.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/0.03574, allocations: 3.757 MB / 322.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.03738, allocations: 0.9967 MB / 323.1 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1441/0.1815, allocations: 0.6808 MB / 323.8 MB, free: 33.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.1815, allocations: 8.281 kB / 323.8 MB, free: 33.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.1825, allocations: 0.6447 MB / 324.4 MB, free: 33.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.016e-06/0.1825, allocations: 1.5 kB / 324.4 MB, free: 33.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007357/0.1898, allocations: 2.634 MB / 327.1 MB, free: 33.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1899, allocations: 113 kB / 327.2 MB, free: 33.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1909, allocations: 0.7883 MB / 328 MB, free: 32.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.191, allocations: 41.61 kB / 328 MB, free: 32.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.1913, allocations: 496.2 kB / 328.5 MB, free: 32.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1915, allocations: 253.4 kB / 328.7 MB, free: 32.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1917, allocations: 133.2 kB / 328.9 MB, free: 32.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1918, allocations: 390.1 kB / 329.2 MB, free: 31.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.1924, allocations: 395.3 kB / 329.6 MB, free: 31.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.1931, allocations: 0.5929 MB / 330.2 MB, free: 31.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1943, allocations: 0.9211 MB / 331.1 MB, free: 30.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.1943, allocations: 4.453 kB / 331.1 MB, free: 30.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001938/0.1962, allocations: 1.288 MB / 332.4 MB, free: 30.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1962, allocations: 9.781 kB / 332.4 MB, free: 30.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1962, allocations: 3.75 kB / 332.4 MB, free: 30.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.1973, allocations: 471.3 kB / 332.9 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1977, allocations: 95.31 kB / 333 MB, free: 30.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/0.2037, allocations: 5.358 MB / 338.4 MB, free: 27.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.2042, allocations: 85.53 kB / 338.4 MB, free: 27.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.2042, allocations: 28.62 kB / 338.5 MB, free: 27.01 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,$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.0005678/0.2048, allocations: 463 kB / 338.9 MB, free: 26.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2049, allocations: 84.73 kB / 339 MB, free: 26.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.2051, allocations: 114.4 kB / 339.1 MB, free: 26.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2051, allocations: 10.39 kB / 339.1 MB, free: 26.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2051, allocations: 0 / 339.1 MB, free: 26.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2051, allocations: 5.922 kB / 339.1 MB, free: 26.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.2083, allocations: 2.292 MB / 341.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2083, allocations: 1.25 kB / 341.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.2086, allocations: 57.88 kB / 341.5 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008204/0.2094, allocations: 462.4 kB / 341.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.2094, allocations: 19.06 kB / 342 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.2147, allocations: 5.341 MB / 347.3 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2147, allocations: 3.203 kB / 347.3 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.2168, allocations: 1.897 MB / 349.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.2172, allocations: 207.1 kB / 349.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2173, allocations: 12 kB / 349.4 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2177, allocations: 47.89 kB / 349.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.2179, allocations: 80.5 kB / 349.5 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.2179, allocations: 20 kB / 349.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005703/0.2185, allocations: 0.5576 MB / 350.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2185, allocations: 0 / 350.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008887/0.2194, allocations: 341.2 kB / 350.4 MB, free: 17.29 MB / 302.1 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.000161/0.2195, allocations: 123 kB / 350.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.2213, allocations: 1.27 MB / 351.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2213, allocations: 0 / 351.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.2223, allocations: 0.7874 MB / 352.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/0.2232, allocations: 257.2 kB / 352.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.2265, allocations: 2.296 MB / 355.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.2271, allocations: 0.7257 MB / 355.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003367/0.2275, allocations: 145.3 kB / 356 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2276, allocations: 60.48 kB / 356.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2276, allocations: 0 / 356.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Templates: time 0.02619/0.2538, allocations: 18.37 MB / 374.5 MB, free: 9.195 MB / 318.1 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: 4.906689867377281]