Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00191/0.00191, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002324/0.002324, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 55.91 kB / 379.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2364, allocations: 53.4 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006615/0.243, allocations: 4.819 MB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.246, allocations: 1.379 MB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.2465, allocations: 35.75 kB / 438.7 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.2472, allocations: 218.4 kB / 438.9 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.2484, allocations: 385.9 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.249, allocations: 227.6 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.251, allocations: 1.557 MB / 441.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00085/0.2519, allocations: 0.567 MB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.2528, allocations: 0.6736 MB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.254, allocations: 0.7861 MB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.2542, allocations: 168 kB / 443.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.2545, allocations: 164 kB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.2549, allocations: 442.8 kB / 443.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.2557, allocations: 0.7388 MB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.2581, allocations: 2.111 MB / 446.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2581, allocations: 0 / 446.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2581, allocations: 4 kB / 446.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-05/0.2581, allocations: 0 / 446.7 MB, free: 8.418 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.003652/0.2618, allocations: 1.896 MB / 448.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2618, allocations: 12.03 kB / 448.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000549/0.2624, allocations: 184 kB / 448.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.2641, allocations: 0.9008 MB / 449.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.2641, allocations: 74.38 kB / 449.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.2643, allocations: 108.1 kB / 449.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.2667, allocations: 1.439 MB / 451.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.2667, allocations: 4 kB / 451.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.2669, allocations: 40 kB / 451.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.2669, allocations: 41.98 kB / 451.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.2691, allocations: 1.3 MB / 452.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/0.2758, allocations: 4.259 MB / 456.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.2774, allocations: 0.9985 MB / 457.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.2787, allocations: 0.6845 MB / 458.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.2787, allocations: 8.656 kB / 458.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.2797, allocations: 0.5976 MB / 459.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.675e-06/0.2797, allocations: 0 / 459.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007432/0.2872, allocations: 2.747 MB / 462 MB, free: 8.902 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.2873, allocations: 119.4 kB / 462.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.2885, allocations: 0.8442 MB / 462.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.2886, allocations: 41.7 kB / 463 MB, free: 7.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.289, allocations: 0.4929 MB / 463.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.2893, allocations: 261.9 kB / 463.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.2895, allocations: 134.6 kB / 463.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2897, allocations: 334 kB / 464.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.2903, allocations: 393.7 kB / 464.6 MB, free: 6.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.2911, allocations: 0.5455 MB / 465.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2925, allocations: 0.9132 MB / 466 MB, free: 4.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2925, allocations: 4 kB / 466 MB, free: 4.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002201/0.2947, allocations: 1.294 MB / 467.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2947, allocations: 4 kB / 467.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.2947, allocations: 4 kB / 467.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.2958, allocations: 472.4 kB / 467.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.2962, allocations: 99.75 kB / 467.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007624/0.3038, allocations: 5.485 MB / 473.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.3044, allocations: 87.58 kB / 473.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.3045, allocations: 20 kB / 473.5 MB, free: 13.09 MB / 382.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.0007371/0.3052, allocations: 470.8 kB / 473.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3054, allocations: 95.39 kB / 474 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.3056, allocations: 116.7 kB / 474.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3056, allocations: 8 kB / 474.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3056, allocations: 7.922 kB / 474.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3056, allocations: 0 / 474.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/0.3098, allocations: 2.559 MB / 476.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3098, allocations: 0 / 476.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.3101, allocations: 67.89 kB / 476.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.3112, allocations: 464.5 kB / 477.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.3112, allocations: 12 kB / 477.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007545/0.3187, allocations: 5.422 MB / 482.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3188, allocations: 11.86 kB / 482.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.3218, allocations: 1.898 MB / 484.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.3223, allocations: 203.3 kB / 484.8 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3224, allocations: 15.98 kB / 484.8 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.3229, allocations: 39.95 kB / 484.8 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.3231, allocations: 76.52 kB / 484.9 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.3232, allocations: 27.98 kB / 484.9 MB, free: 1.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008601/0.3241, allocations: 0.6005 MB / 485.5 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3241, allocations: 0 / 485.5 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3252, allocations: 351.2 kB / 485.9 MB, free: 492 kB / 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.0001991/0.3254, allocations: 131.2 kB / 486 MB, free: 352 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.3276, allocations: 1.252 MB / 487.3 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.3276, allocations: 8.062 kB / 487.3 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.3289, allocations: 0.7889 MB / 488.1 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3299, allocations: 274.5 kB / 488.3 MB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.334, allocations: 2.383 MB / 490.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.335, allocations: 1.303 MB / 492 MB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3352, allocations: 59.44 kB / 492.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3352, allocations: 0 / 492.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of Templates: time 0.02888/0.3641, allocations: 20.99 MB / 0.501 GB, free: 5.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.933024749159813]