Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 88.59 kB / 20.95 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 149.9 kB / 24.25 MB, free: 3.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 173.3 MB / 200.8 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 10.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.579e-05, allocations: 6.25 kB / 267.3 MB, free: 10.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00649/0.006516, allocations: 4.303 MB / 271.6 MB, free: 5.824 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.009116, allocations: 1.273 MB / 272.9 MB, free: 4.547 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.00941, allocations: 35.75 kB / 272.9 MB, free: 4.512 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.01005, allocations: 230.4 kB / 273.2 MB, free: 4.285 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008077/0.01085, allocations: 369.5 kB / 273.5 MB, free: 3.922 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.01125, allocations: 223.5 kB / 273.8 MB, free: 3.703 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.01298, allocations: 1.576 MB / 275.3 MB, free: 2.121 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008102/0.01379, allocations: 0.5437 MB / 275.9 MB, free: 1.547 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.01492, allocations: 0.9434 MB / 276.8 MB, free: 0.6016 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.01598, allocations: 0.6936 MB / 277.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.01622, allocations: 164 kB / 277.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.0165, allocations: 164 kB / 277.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004601/0.01696, allocations: 462.6 kB / 278.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.01758, allocations: 0.495 MB / 278.8 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.01982, allocations: 2.139 MB / 280.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01982, allocations: 0 / 280.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01982, allocations: 0 / 280.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.01984, allocations: 0 / 280.9 MB, free: 12.49 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003348/0.02319, allocations: 1.877 MB / 282.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.02322, allocations: 8.922 kB / 282.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.02358, allocations: 220 kB / 283 MB, free: 10.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.02509, allocations: 0.9158 MB / 283.9 MB, free: 9.398 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.02515, allocations: 74.38 kB / 284 MB, free: 9.328 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.02533, allocations: 108.3 kB / 284.1 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.02777, allocations: 1.486 MB / 285.6 MB, free: 7.691 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.0278, allocations: 11.94 kB / 285.6 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.964e-05/0.0279, allocations: 40 kB / 285.6 MB, free: 7.641 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/0.02796, allocations: 41.98 kB / 285.7 MB, free: 7.602 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.03031, allocations: 1.296 MB / 287 MB, free: 6.301 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006116/0.03643, allocations: 3.815 MB / 290.8 MB, free: 2.402 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.03813, allocations: 0.9928 MB / 291.8 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.03946, allocations: 0.6891 MB / 292.5 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.03951, allocations: 16.66 kB / 292.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.04055, allocations: 0.6486 MB / 293.1 MB, free: 20 kB / 270.1 MB Notification: Performance of pre-optimization done (n=75): time 2.635e-06/0.04055, allocations: 0 / 293.1 MB, free: 20 kB / 270.1 MB Notification: Performance of matching and sorting (n=75): time 0.007847/0.0484, allocations: 2.767 MB / 295.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.04849, allocations: 115.5 kB / 296 MB, free: 13.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.04961, allocations: 0.7893 MB / 296.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.04968, allocations: 41.7 kB / 296.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.05014, allocations: 0.489 MB / 297.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.05042, allocations: 249.9 kB / 297.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.05066, allocations: 134.7 kB / 297.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.05089, allocations: 390.7 kB / 298.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.05157, allocations: 389.7 kB / 298.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.0524, allocations: 0.5996 MB / 299.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.05384, allocations: 0.9171 MB / 300 MB, free: 8.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.05384, allocations: 0 / 300 MB, free: 8.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002298/0.05614, allocations: 1.317 MB / 301.3 MB, free: 7.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.05616, allocations: 10.19 kB / 301.3 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.05618, allocations: 7.938 kB / 301.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.05735, allocations: 472.5 kB / 301.8 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.05773, allocations: 95.83 kB / 301.9 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/0.06581, allocations: 5.414 MB / 307.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.06644, allocations: 87.64 kB / 307.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.06649, allocations: 20 kB / 307.4 MB, free: 1.441 MB / 286.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_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.0007043/0.0672, allocations: 471.5 kB / 307.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.06737, allocations: 103.5 kB / 308 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.06762, allocations: 112.2 kB / 308.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.06763, allocations: 11.94 kB / 308.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.06763, allocations: 0 / 308.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.06764, allocations: 3.984 kB / 308.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1154/0.1831, allocations: 2.297 MB / 310.4 MB, free: 49.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.1831, allocations: 0.7969 kB / 310.4 MB, free: 49.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.1834, allocations: 64.42 kB / 310.5 MB, free: 49.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009729/0.1843, allocations: 457.9 kB / 310.9 MB, free: 49.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.1844, allocations: 12.69 kB / 310.9 MB, free: 49.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006469/0.1909, allocations: 5.355 MB / 316.3 MB, free: 46.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1909, allocations: 1.125 kB / 316.3 MB, free: 46.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.1937, allocations: 1.917 MB / 318.2 MB, free: 45.81 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.1941, allocations: 201.3 kB / 318.4 MB, free: 45.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1942, allocations: 23.38 kB / 318.4 MB, free: 45.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.1946, allocations: 41.17 kB / 318.4 MB, free: 45.72 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.1948, allocations: 77.12 kB / 318.5 MB, free: 45.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.1949, allocations: 24.86 kB / 318.5 MB, free: 45.7 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007386/0.1956, allocations: 0.5617 MB / 319.1 MB, free: 45.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1956, allocations: 3.375 kB / 319.1 MB, free: 45.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009582/0.1966, allocations: 349 kB / 319.4 MB, free: 45.41 MB / 286.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_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 (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.0001606/0.1967, allocations: 128 kB / 319.6 MB, free: 45.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.1986, allocations: 1.248 MB / 320.8 MB, free: 44.79 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1986, allocations: 1.375 kB / 320.8 MB, free: 44.79 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.1997, allocations: 0.7972 MB / 321.6 MB, free: 44.4 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2007, allocations: 267.6 kB / 321.9 MB, free: 44.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2038, allocations: 2.346 MB / 324.2 MB, free: 43.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.2044, allocations: 0.7289 MB / 325 MB, free: 42.85 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.2047, allocations: 146.7 kB / 325.1 MB, free: 42.71 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2048, allocations: 60.48 kB / 325.2 MB, free: 42.65 MB / 286.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2048, allocations: 0 / 325.2 MB, free: 42.65 MB / 286.1 MB Notification: Performance of Templates: time 0.02323/0.2281, allocations: 18.42 MB / 343.6 MB, free: 24.54 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.97390203922987]