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.001349/0.001349, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001141/0.001141, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.389/1.389, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001296/0.001296, allocations: 47.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08678, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006168/0.09299, allocations: 4.67 MB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.09576, allocations: 1.341 MB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.09631, allocations: 27.88 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.09706, allocations: 218.4 kB / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009808/0.09805, allocations: 342.1 kB / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.09859, allocations: 219.6 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1003, allocations: 1.537 MB / 337.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.1014, allocations: 0.9176 MB / 338 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.1022, allocations: 0.6347 MB / 338.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.1034, allocations: 0.7627 MB / 339.4 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.1037, allocations: 164 kB / 339.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.104, allocations: 160 kB / 339.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.1044, allocations: 434.8 kB / 340.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.1053, allocations: 0.7234 MB / 340.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.1072, allocations: 2.068 MB / 342.9 MB, free: 5.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1072, allocations: 0 / 342.9 MB, free: 5.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1072, allocations: 4 kB / 342.9 MB, free: 5.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.571e-05/0.1073, allocations: 0 / 342.9 MB, free: 5.469 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.003294/0.1106, allocations: 1.619 MB / 344.5 MB, free: 3.793 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1106, allocations: 8.031 kB / 344.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.1108, allocations: 143.2 kB / 344.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.1123, allocations: 0.8761 MB / 345.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.1123, allocations: 74.36 kB / 345.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1125, allocations: 108.1 kB / 345.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.1147, allocations: 1.427 MB / 347.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1147, allocations: 0 / 347.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1149, allocations: 44 kB / 347.2 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.1149, allocations: 42 kB / 347.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.117, allocations: 1.284 MB / 348.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006403/0.1235, allocations: 4.288 MB / 352.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.1255, allocations: 1.963 MB / 354.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008994/0.1264, allocations: 0.6181 MB / 355.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.1264, allocations: 8.656 kB / 355.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008849/0.1273, allocations: 0.5937 MB / 356 MB, free: 7.895 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 4.428e-06/0.1274, allocations: 0 / 356 MB, free: 7.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007222/0.1346, allocations: 2.839 MB / 358.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.1347, allocations: 115.4 kB / 359 MB, free: 4.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.136, allocations: 0.8207 MB / 359.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.1361, allocations: 45.64 kB / 359.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.1365, allocations: 491.8 kB / 360.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.1367, allocations: 240.5 kB / 360.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.137, allocations: 138.6 kB / 360.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1372, allocations: 394.7 kB / 361.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.1378, allocations: 393.7 kB / 361.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.1386, allocations: 0.5455 MB / 362 MB, free: 1.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.1399, allocations: 0.9192 MB / 362.9 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1399, allocations: 0 / 362.9 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00203/0.1419, allocations: 1.319 MB / 364.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.142, allocations: 8 kB / 364.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.142, allocations: 4 kB / 364.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.143, allocations: 476.3 kB / 364.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.1434, allocations: 95.83 kB / 364.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.1503, allocations: 5.566 MB / 370.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.151, allocations: 87.39 kB / 370.5 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.151, allocations: 24 kB / 370.5 MB, free: 9.066 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.0006485/0.1517, allocations: 459.2 kB / 370.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1519, allocations: 90.91 kB / 371 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.1521, allocations: 112.5 kB / 371.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1521, allocations: 11.94 kB / 371.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1521, allocations: 0 / 371.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1521, allocations: 3.984 kB / 371.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.1563, allocations: 2.602 MB / 373.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1563, allocations: 0 / 373.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.1566, allocations: 67.89 kB / 373.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009576/0.1576, allocations: 456.4 kB / 374.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.1576, allocations: 12 kB / 374.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1372/0.2949, allocations: 5.546 MB / 379.8 MB, free: 52.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2949, allocations: 0 / 379.8 MB, free: 52.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.2978, allocations: 1.921 MB / 381.7 MB, free: 52.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.2983, allocations: 269.2 kB / 382 MB, free: 52.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2984, allocations: 15.67 kB / 382 MB, free: 52.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.2989, allocations: 44.52 kB / 382.1 MB, free: 52.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.2991, allocations: 73.03 kB / 382.1 MB, free: 52.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.2991, allocations: 20.19 kB / 382.1 MB, free: 52.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000698/0.2998, allocations: 0.5889 MB / 382.7 MB, free: 52.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2998, allocations: 3.531 kB / 382.7 MB, free: 52.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.3007, allocations: 342.9 kB / 383.1 MB, free: 52.42 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.0001547/0.3009, allocations: 121.1 kB / 383.2 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.303, allocations: 1.294 MB / 384.5 MB, free: 51.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.303, allocations: 0 / 384.5 MB, free: 51.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3041, allocations: 0.8267 MB / 385.3 MB, free: 51.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.3051, allocations: 269.3 kB / 385.6 MB, free: 51.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.3087, allocations: 2.317 MB / 387.9 MB, free: 50.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/0.3096, allocations: 1.327 MB / 389.2 MB, free: 49.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003858/0.31, allocations: 141.4 kB / 389.4 MB, free: 49.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3102, allocations: 57.66 kB / 389.4 MB, free: 49.53 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3102, allocations: 0 / 389.4 MB, free: 49.53 MB / 318.1 MB Notification: Performance of Templates: time 0.02422/0.3344, allocations: 19.56 MB / 409 MB, free: 35.27 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 -s gbode -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/jenkins1/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/jenkins1/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) Reference file matches