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.001314/0.001314, allocations: 119.5 kB / 18.41 MB, free: 4.664 MB / 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.001457/0.001457, allocations: 192.3 kB / 21.35 MB, free: 1.734 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.41/1.41, allocations: 222.9 MB / 247.1 MB, free: 4.223 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 0.001441/0.001441, allocations: 47.92 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08698, allocations: 49.45 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006043/0.09306, allocations: 4.727 MB / 412.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.09531, allocations: 1.293 MB / 414.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.09558, allocations: 23.88 kB / 414.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.09616, allocations: 214.4 kB / 414.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007032/0.09687, allocations: 346 kB / 414.7 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.09724, allocations: 211.7 kB / 414.9 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.0988, allocations: 1.522 MB / 416.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.09995, allocations: 0.9651 MB / 417.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006921/0.1007, allocations: 0.6424 MB / 418.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009257/0.1016, allocations: 0.7627 MB / 418.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.1018, allocations: 164 kB / 419 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1021, allocations: 164 kB / 419.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.1025, allocations: 438.8 kB / 419.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.1033, allocations: 0.7272 MB / 420.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.1052, allocations: 2.094 MB / 422.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1052, allocations: 0 / 422.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1052, allocations: 0 / 422.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.1053, allocations: 8 kB / 422.4 MB, free: 8.516 MB / 350.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.002872/0.1081, allocations: 1.662 MB / 424.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1082, allocations: 8.031 kB / 424.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1084, allocations: 148 kB / 424.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1098, allocations: 0.9547 MB / 425.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.1099, allocations: 74.38 kB / 425.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.11, allocations: 100.1 kB / 425.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.1123, allocations: 1.443 MB / 426.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.1124, allocations: 0 / 426.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1125, allocations: 43.94 kB / 426.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/0.1125, allocations: 45.98 kB / 426.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.1147, allocations: 1.292 MB / 428.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.2853, allocations: 4.3 MB / 432.5 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2867, allocations: 1.96 MB / 434.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.2878, allocations: 0.7413 MB / 435.2 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.2879, allocations: 9.5 kB / 435.2 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000788/0.2887, allocations: 0.5921 MB / 435.8 MB, free: 18.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.634e-06/0.2887, allocations: 0.6562 kB / 435.8 MB, free: 18.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00714/0.2958, allocations: 2.82 MB / 438.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2959, allocations: 117.8 kB / 438.7 MB, free: 18.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.2969, allocations: 0.8249 MB / 439.5 MB, free: 18.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.297, allocations: 42.17 kB / 439.6 MB, free: 18.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.2973, allocations: 494.9 kB / 440 MB, free: 18.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.2974, allocations: 253.5 kB / 440.3 MB, free: 18.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2976, allocations: 137.9 kB / 440.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2977, allocations: 397.2 kB / 440.8 MB, free: 17.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.2983, allocations: 398.3 kB / 441.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.2989, allocations: 0.5398 MB / 441.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3, allocations: 0.9124 MB / 442.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3001, allocations: 1.344 kB / 442.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0019/0.302, allocations: 1.307 MB / 444 MB, free: 17.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.302, allocations: 10.09 kB / 444 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.302, allocations: 7.969 kB / 444 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.303, allocations: 467.4 kB / 444.4 MB, free: 17.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.3034, allocations: 93.8 kB / 444.5 MB, free: 17.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/0.3096, allocations: 5.589 MB / 450.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.3101, allocations: 83.36 kB / 450.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.3102, allocations: 28.33 kB / 450.2 MB, free: 14.41 MB / 350.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_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.0005611/0.3107, allocations: 461.3 kB / 450.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3108, allocations: 93.78 kB / 450.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.3111, allocations: 115 kB / 450.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3111, allocations: 7.188 kB / 450.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3111, allocations: 1.938 kB / 450.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3111, allocations: 7.641 kB / 450.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.3144, allocations: 2.601 MB / 453.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3144, allocations: 0 / 453.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3147, allocations: 63.09 kB / 453.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008782/0.3156, allocations: 460.6 kB / 454 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.3157, allocations: 19.8 kB / 454 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005375/0.321, allocations: 5.5 MB / 459.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3211, allocations: 0 / 459.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.3233, allocations: 1.912 MB / 461.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.3236, allocations: 276.8 kB / 461.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3237, allocations: 16.12 kB / 461.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.3241, allocations: 47.14 kB / 461.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.3243, allocations: 74.56 kB / 461.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.3244, allocations: 21.75 kB / 461.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006394/0.325, allocations: 0.5869 MB / 462.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.325, allocations: 0 / 462.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008551/0.3259, allocations: 350.9 kB / 462.8 MB, free: 6.867 MB / 350.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_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.0001375/0.326, allocations: 136.1 kB / 462.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3278, allocations: 1.299 MB / 464.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3278, allocations: 0 / 464.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009394/0.3287, allocations: 0.8175 MB / 465 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/0.3297, allocations: 274.4 kB / 465.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.3326, allocations: 2.355 MB / 467.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.3332, allocations: 1.303 MB / 469 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3333, allocations: 55.44 kB / 469 MB, free: 1.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3333, allocations: 0 / 469 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Templates: time 0.02577/0.3591, allocations: 20.68 MB / 489.7 MB, free: 13.38 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.165878553059883]