Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009543/0.0009544, allocations: 197.8 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007891/0.0007892, allocations: 107.6 kB / 299.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002081, allocations: 8 kB / 360.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003413/0.2019, allocations: 4.14 MB / 416.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2039, allocations: 1.667 MB / 417.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.2042, allocations: 23.88 kB / 417.9 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.2047, allocations: 182.9 kB / 418.1 MB, free: 19.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.2052, allocations: 322.3 kB / 418.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2055, allocations: 187.8 kB / 418.6 MB, free: 19.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.2065, allocations: 1.779 MB / 420.4 MB, free: 17.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/0.2073, allocations: 0.7961 MB / 421.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.2077, allocations: 489.9 kB / 421.6 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.2082, allocations: 0.6416 MB / 422.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-05/0.2083, allocations: 64 kB / 422.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2085, allocations: 68 kB / 422.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.2087, allocations: 322.8 kB / 422.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.2092, allocations: 0.6273 MB / 423.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2103, allocations: 1.946 MB / 425.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2103, allocations: 0 / 425.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2103, allocations: 0 / 425.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.2103, allocations: 0 / 425.3 MB, free: 12.5 MB / 298.7 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.00192/0.2122, allocations: 1.428 MB / 426.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2123, allocations: 12.03 kB / 426.7 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.2127, allocations: 179.3 kB / 426.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/0.2137, allocations: 0.9073 MB / 427.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.2138, allocations: 78.36 kB / 427.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.2139, allocations: 104.1 kB / 428 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.2158, allocations: 1.447 MB / 429.4 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.2158, allocations: 4 kB / 429.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.2159, allocations: 36 kB / 429.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.216, allocations: 45.98 kB / 429.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.2176, allocations: 1.3 MB / 430.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004538/0.2222, allocations: 4.371 MB / 435.2 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.2235, allocations: 1.963 MB / 437.1 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.2244, allocations: 0.6183 MB / 437.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.2244, allocations: 12.66 kB / 437.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008664/0.2253, allocations: 0.6053 MB / 438.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.2253, allocations: 0 / 438.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.006502/0.2318, allocations: 2.781 MB / 441.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.2319, allocations: 119.5 kB / 441.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2329, allocations: 0.813 MB / 442.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.233, allocations: 41.7 kB / 442.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.2334, allocations: 0.4919 MB / 442.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.2336, allocations: 248.5 kB / 442.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.2336, allocations: 12 kB / 442.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2337, allocations: 334 kB / 443.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.2343, allocations: 393.7 kB / 443.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.235, allocations: 0.5533 MB / 444.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.2363, allocations: 0.9231 MB / 445.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2363, allocations: 3.938 kB / 445.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001909/0.2382, allocations: 1.33 MB / 446.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2383, allocations: 8 kB / 446.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2383, allocations: 4 kB / 446.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.2393, allocations: 473.3 kB / 446.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.2397, allocations: 95.83 kB / 447 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/0.2458, allocations: 5.118 MB / 452.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.2464, allocations: 95.39 kB / 452.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.2464, allocations: 24 kB / 452.2 MB, free: 0.75 MB / 314.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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,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.0006164/0.2471, allocations: 471.2 kB / 452.7 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2472, allocations: 82.97 kB / 452.7 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.2474, allocations: 112.6 kB / 452.9 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2474, allocations: 12 kB / 452.9 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2474, allocations: 0 / 452.9 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2474, allocations: 3.984 kB / 452.9 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.251, allocations: 2.631 MB / 455.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.251, allocations: 0 / 455.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.2513, allocations: 67.89 kB / 455.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009253/0.2523, allocations: 469.2 kB / 456 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.2523, allocations: 12 kB / 456 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/0.2584, allocations: 5.063 MB / 461.1 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2585, allocations: 0 / 461.1 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.2611, allocations: 1.927 MB / 463 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.2615, allocations: 279.8 kB / 463.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.2616, allocations: 15.98 kB / 463.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.262, allocations: 43.95 kB / 463.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.2622, allocations: 76.48 kB / 463.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.2622, allocations: 20 kB / 463.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007351/0.263, allocations: 0.5965 MB / 464.1 MB, free: 4.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.263, allocations: 0 / 464.1 MB, free: 4.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008737/0.2639, allocations: 343 kB / 464.4 MB, free: 4.312 MB / 330.7 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001778/0.2641, allocations: 139.1 kB / 464.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.2661, allocations: 1.286 MB / 465.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.2661, allocations: 4 kB / 465.8 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.2673, allocations: 0.8133 MB / 466.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2683, allocations: 268.7 kB / 466.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.272, allocations: 2.832 MB / 469.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/0.2729, allocations: 1.33 MB / 471 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.2733, allocations: 147.3 kB / 471.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2734, allocations: 55.42 kB / 471.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2734, allocations: 4 kB / 471.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of Templates: time 0.02605/0.2995, allocations: 18.28 MB / 489.5 MB, free: 11.3 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches