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.001092/0.001092, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004123/0.004123, allocations: 145.7 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8339/0.8339, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.172e-06/1.172e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.727e-05, allocations: 10.22 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003631/0.003648, allocations: 4.293 MB / 324 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.005452, allocations: 1.27 MB / 325.3 MB, free: 244 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.005726, allocations: 35.75 kB / 325.3 MB, free: 208 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.006217, allocations: 226.4 kB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.00677, allocations: 373.5 kB / 325.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.007044, allocations: 223.5 kB / 326.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.008254, allocations: 1.579 MB / 327.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005112/0.008765, allocations: 0.5437 MB / 328.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007516/0.009517, allocations: 0.9473 MB / 329.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.01012, allocations: 0.6936 MB / 329.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.01023, allocations: 164 kB / 330 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.01037, allocations: 164 kB / 330.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.01061, allocations: 462.7 kB / 330.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.01095, allocations: 0.4989 MB / 331.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.01213, allocations: 2.127 MB / 333.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01213, allocations: 0 / 333.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01213, allocations: 0 / 333.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.01215, allocations: 0 / 333.3 MB, free: 8.184 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.002064/0.01421, allocations: 1.877 MB / 335.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.01424, allocations: 8.922 kB / 335.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.01438, allocations: 144 kB / 335.3 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.01524, allocations: 0.8845 MB / 336.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.01528, allocations: 78.36 kB / 336.3 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.01537, allocations: 92.38 kB / 336.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.01685, allocations: 1.497 MB / 337.9 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.01687, allocations: 3.938 kB / 337.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.01694, allocations: 47.98 kB / 337.9 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.01697, allocations: 38 kB / 337.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.01823, allocations: 1.292 MB / 339.2 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.02188, allocations: 3.765 MB / 343 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.02288, allocations: 0.996 MB / 344 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.02362, allocations: 0.6848 MB / 344.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.02365, allocations: 8.656 kB / 344.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.02424, allocations: 0.6438 MB / 345.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.02424, allocations: 4 kB / 345.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004019/0.02826, allocations: 2.755 MB / 348.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000287/0.02855, allocations: 115.5 kB / 348.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.02915, allocations: 0.7855 MB / 349 MB, free: 8.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.02918, allocations: 41.7 kB / 349 MB, free: 8.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.02942, allocations: 496.7 kB / 349.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.02954, allocations: 253.9 kB / 349.8 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.02967, allocations: 130.7 kB / 349.9 MB, free: 7.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.02979, allocations: 394.7 kB / 350.3 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.03016, allocations: 393.7 kB / 350.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.03062, allocations: 0.6035 MB / 351.3 MB, free: 5.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.03144, allocations: 0.9093 MB / 352.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.03145, allocations: 4 kB / 352.2 MB, free: 4.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001231/0.03268, allocations: 1.278 MB / 353.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.03269, allocations: 8 kB / 353.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.0327, allocations: 7.938 kB / 353.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.03334, allocations: 472.7 kB / 353.9 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.03353, allocations: 95.88 kB / 354 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.0383, allocations: 5.374 MB / 359.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.03854, allocations: 87.64 kB / 359.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.03857, allocations: 31.97 kB / 359.5 MB, free: 13.39 MB / 330.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 (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.0003893/0.03896, allocations: 455.5 kB / 360 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.03903, allocations: 83.48 kB / 360.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.03914, allocations: 120.2 kB / 360.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.03915, allocations: 7.938 kB / 360.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.03915, allocations: 8 kB / 360.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.03916, allocations: 7.969 kB / 360.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.04138, allocations: 2.294 MB / 362.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.04138, allocations: 4 kB / 362.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.04181, allocations: 63.91 kB / 362.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.04237, allocations: 464.6 kB / 363 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.0424, allocations: 8 kB / 363 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.0464, allocations: 5.31 MB / 368.3 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.0464, allocations: 7.922 kB / 368.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.04829, allocations: 1.89 MB / 370.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.04852, allocations: 199.3 kB / 370.4 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.04858, allocations: 16 kB / 370.4 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.0488, allocations: 43.94 kB / 370.5 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.04891, allocations: 76.52 kB / 370.5 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.04894, allocations: 19.98 kB / 370.6 MB, free: 2.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004318/0.04937, allocations: 0.5653 MB / 371.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04937, allocations: 0 / 371.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006204/0.04999, allocations: 351.2 kB / 371.5 MB, free: 1.25 MB / 330.7 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.0001339/0.05013, allocations: 134.9 kB / 371.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.05139, allocations: 1.247 MB / 372.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.05139, allocations: 0 / 372.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.0521, allocations: 0.7979 MB / 373.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.05269, allocations: 247 kB / 373.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.05503, allocations: 2.323 MB / 376.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.05556, allocations: 0.6999 MB / 376.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.05591, allocations: 60.48 kB / 377 MB, free: 11.65 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05591, allocations: 0 / 377 MB, free: 11.65 MB / 346.7 MB Notification: Performance of Templates: time 0.01505/0.07095, allocations: 20.84 MB / 397.8 MB, free: 6.875 MB / 362.7 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: 5.810410927981138]