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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 115.9 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001766, allocations: 193.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001514, allocations: 52.3 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1401, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007415/0.1476, allocations: 4.677 MB / 331.5 MB, free: 68 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.1513, allocations: 1.321 MB / 332.8 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.1525, allocations: 23.81 kB / 332.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1538, allocations: 183 kB / 333 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.1554, allocations: 322.3 kB / 333.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.1561, allocations: 191.7 kB / 333.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.1587, allocations: 1.53 MB / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.1601, allocations: 0.9179 MB / 335.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.1611, allocations: 0.6308 MB / 336.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.1624, allocations: 0.7822 MB / 337.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.1628, allocations: 164 kB / 337.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.1632, allocations: 164 kB / 337.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.1637, allocations: 434.8 kB / 338.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.1648, allocations: 0.7195 MB / 338.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.1675, allocations: 2.052 MB / 340.9 MB, free: 6.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.1676, allocations: 4 kB / 340.9 MB, free: 6.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1676, allocations: 0 / 340.9 MB, free: 6.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.105e-05/0.1677, allocations: 0 / 340.9 MB, free: 6.613 MB / 286.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.004536/0.1722, allocations: 1.623 MB / 342.5 MB, free: 4.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1723, allocations: 16.03 kB / 342.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.1726, allocations: 143.2 kB / 342.7 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.1743, allocations: 0.8645 MB / 343.5 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.1744, allocations: 66.38 kB / 343.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.1746, allocations: 104.1 kB / 343.7 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.1773, allocations: 1.435 MB / 345.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.1773, allocations: 3.938 kB / 345.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1775, allocations: 36 kB / 345.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/0.1775, allocations: 45.98 kB / 345.2 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.1797, allocations: 1.28 MB / 346.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007622/0.1873, allocations: 4.32 MB / 350.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.1897, allocations: 1.978 MB / 352.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009916/0.1907, allocations: 0.6181 MB / 353.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.1908, allocations: 12.66 kB / 353.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.192, allocations: 0.5859 MB / 354 MB, free: 9.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.657e-06/0.192, allocations: 0 / 354 MB, free: 9.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008047/0.2001, allocations: 2.847 MB / 356.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.2002, allocations: 111.5 kB / 357 MB, free: 5.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.2016, allocations: 0.8246 MB / 357.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.2017, allocations: 41.7 kB / 357.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.2023, allocations: 491.8 kB / 358.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.2027, allocations: 244.5 kB / 358.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.203, allocations: 134.6 kB / 358.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.2033, allocations: 390.8 kB / 359.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.2041, allocations: 397.7 kB / 359.4 MB, free: 3.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.205, allocations: 0.5532 MB / 360 MB, free: 2.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.2065, allocations: 0.9192 MB / 360.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.2065, allocations: 0 / 360.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00237/0.2089, allocations: 1.315 MB / 362.2 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.209, allocations: 8 kB / 362.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.209, allocations: 7.984 kB / 362.3 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.2103, allocations: 480.4 kB / 362.7 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.2108, allocations: 91.88 kB / 362.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.2191, allocations: 5.566 MB / 368.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.2199, allocations: 91.39 kB / 368.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.2201, allocations: 24 kB / 368.5 MB, free: 10.17 MB / 318.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_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: 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.0009242/0.221, allocations: 459.3 kB / 368.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.2214, allocations: 90.95 kB / 369 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.2217, allocations: 112.6 kB / 369.1 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.2217, allocations: 12 kB / 369.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2217, allocations: 0 / 369.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2217, allocations: 3.984 kB / 369.2 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/0.2266, allocations: 2.608 MB / 371.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.2267, allocations: 3.938 kB / 371.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.227, allocations: 67.89 kB / 371.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.2281, allocations: 464.3 kB / 372.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.2282, allocations: 12 kB / 372.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007499/0.2357, allocations: 5.548 MB / 377.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.2358, allocations: 4 kB / 377.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2322/0.4679, allocations: 1.914 MB / 379.8 MB, free: 53.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.4685, allocations: 278.2 kB / 380 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.4686, allocations: 18.2 kB / 380 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.4691, allocations: 38.39 kB / 380.1 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.4694, allocations: 76.33 kB / 380.2 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.4694, allocations: 22.52 kB / 380.2 MB, free: 53.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.4705, allocations: 0.5886 MB / 380.8 MB, free: 53.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4705, allocations: 0.9062 kB / 380.8 MB, free: 53.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001089/0.4716, allocations: 339.7 kB / 381.1 MB, free: 53.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001948/0.4718, allocations: 131.5 kB / 381.2 MB, free: 53.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.4743, allocations: 1.427 MB / 382.7 MB, free: 53.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4744, allocations: 0 / 382.7 MB, free: 53.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.4757, allocations: 0.8265 MB / 383.5 MB, free: 52.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.4769, allocations: 266.9 kB / 383.7 MB, free: 52.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.4818, allocations: 2.795 MB / 386.5 MB, free: 51.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.4829, allocations: 1.326 MB / 387.9 MB, free: 50.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005582/0.4835, allocations: 144.5 kB / 388 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4836, allocations: 56.8 kB / 388.1 MB, free: 50.29 MB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4837, allocations: 0 / 388.1 MB, free: 50.29 MB / 318.1 MB Notification: Performance of Templates: time 0.02953/0.5132, allocations: 19.35 MB / 407.4 MB, free: 36.67 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches