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.001348/0.001348, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001416/0.001416, allocations: 187.7 kB / 23.7 MB, free: 4.191 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.45/1.45, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.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.001611/0.001611, allocations: 47.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2331, allocations: 52.19 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006506/0.2396, allocations: 4.299 MB / 427.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2422, allocations: 1.266 MB / 428.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.2425, allocations: 39.75 kB / 428.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006921/0.2432, allocations: 222.4 kB / 428.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008261/0.244, allocations: 366 kB / 429.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.2444, allocations: 215.6 kB / 429.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.2461, allocations: 1.529 MB / 431 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/0.2469, allocations: 0.5359 MB / 431.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007686/0.2477, allocations: 0.6581 MB / 432.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.2487, allocations: 0.7705 MB / 433 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.249, allocations: 164 kB / 433.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.2492, allocations: 171.9 kB / 433.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004245/0.2496, allocations: 438.8 kB / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.2503, allocations: 0.5835 MB / 434.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.2526, allocations: 2.105 MB / 436.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2526, allocations: 3.984 kB / 436.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2526, allocations: 4 kB / 436.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.2527, allocations: 0 / 436.4 MB, free: 1.059 MB / 334.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.003363/0.256, allocations: 1.881 MB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2561, allocations: 8.031 kB / 438.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.2563, allocations: 148 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.2579, allocations: 0.8892 MB / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.258, allocations: 78.38 kB / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.2582, allocations: 100.1 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.2606, allocations: 1.497 MB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2606, allocations: 0 / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.2607, allocations: 40 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/0.2608, allocations: 45.94 kB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.263, allocations: 1.292 MB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.2692, allocations: 3.764 MB / 446.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.2708, allocations: 0.9958 MB / 447.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.272, allocations: 0.6805 MB / 447.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.272, allocations: 8.656 kB / 447.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009747/0.273, allocations: 0.6472 MB / 448.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.444e-06/0.273, allocations: 0 / 448.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007248/0.2803, allocations: 2.755 MB / 451.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.2803, allocations: 115.5 kB / 451.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2814, allocations: 0.7854 MB / 452.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.2815, allocations: 41.7 kB / 452.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.2819, allocations: 0.489 MB / 452.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.2822, allocations: 253.9 kB / 452.9 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.2824, allocations: 134.7 kB / 453.1 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.2826, allocations: 390.7 kB / 453.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.2833, allocations: 397.7 kB / 453.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.2841, allocations: 0.5958 MB / 454.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2855, allocations: 0.9132 MB / 455.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2855, allocations: 0 / 455.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002103/0.2876, allocations: 1.29 MB / 456.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2876, allocations: 4 kB / 456.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2876, allocations: 4.469 kB / 456.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.2887, allocations: 469.4 kB / 457.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.289, allocations: 99.81 kB / 457.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/0.2965, allocations: 5.379 MB / 462.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.2971, allocations: 87.52 kB / 462.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.2972, allocations: 31.98 kB / 462.7 MB, free: 6.254 MB / 366.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_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.0007081/0.2979, allocations: 459.2 kB / 463.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.298, allocations: 87.42 kB / 463.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.2982, allocations: 104.3 kB / 463.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2982, allocations: 15.98 kB / 463.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2982, allocations: 0 / 463.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2983, allocations: 7.984 kB / 463.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.3022, allocations: 2.302 MB / 465.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3022, allocations: 0 / 465.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3025, allocations: 59.91 kB / 465.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.3035, allocations: 464.5 kB / 466.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.3036, allocations: 12 kB / 466.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007408/0.311, allocations: 5.311 MB / 471.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.311, allocations: 3.984 kB / 471.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.314, allocations: 1.897 MB / 473.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.3145, allocations: 199.3 kB / 473.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.3147, allocations: 12 kB / 473.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3151, allocations: 51.88 kB / 473.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.3153, allocations: 72.52 kB / 473.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.3153, allocations: 23.98 kB / 473.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.3162, allocations: 0.5576 MB / 474.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3162, allocations: 0 / 474.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3172, allocations: 347.2 kB / 474.6 MB, free: 10.12 MB / 382.1 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.0001977/0.3174, allocations: 139.1 kB / 474.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.3198, allocations: 1.251 MB / 476 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3198, allocations: 0 / 476 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.3211, allocations: 0.8053 MB / 476.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.3222, allocations: 246.8 kB / 477.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.3268, allocations: 2.349 MB / 479.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009694/0.3278, allocations: 0.7337 MB / 480.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.3282, allocations: 139 kB / 480.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3283, allocations: 55.44 kB / 480.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3284, allocations: 3.938 kB / 480.3 MB, free: 4.309 MB / 382.1 MB Notification: Performance of Templates: time 0.03271/0.3611, allocations: 19.74 MB / 0.4884 GB, free: 0.8906 MB / 398.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/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.0867157317698]