Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.00105/0.00105, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001065/0.001065, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9681/0.9681, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.798e-05, allocations: 9.125 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00484/0.004868, allocations: 3.743 MB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.006271, allocations: 0.9776 MB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.00644, allocations: 11.94 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.006655, allocations: 75.22 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.006929, allocations: 158.6 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.007245, allocations: 187.5 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.007674, allocations: 0.6457 MB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.007902, allocations: 140.6 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.008224, allocations: 363.2 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.008441, allocations: 195.4 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.008496, allocations: 60 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.008582, allocations: 64 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.00866, allocations: 127.5 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.008792, allocations: 183.5 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.009145, allocations: 414.5 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.009147, allocations: 0 / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009147, allocations: 3.938 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.009152, allocations: 0 / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009674/0.01012, allocations: 0.9598 MB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.01016, allocations: 11.98 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.01034, allocations: 100.6 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.01069, allocations: 329.2 kB / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.01072, allocations: 33.38 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.01077, allocations: 44.38 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.01121, allocations: 409.5 kB / 282.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.01124, allocations: 4.125 kB / 282.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.01127, allocations: 19.94 kB / 282.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.01128, allocations: 8 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.01154, allocations: 177.8 kB / 282.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.01318, allocations: 1.839 MB / 284.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.01359, allocations: 308.4 kB / 284.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.01391, allocations: 208.1 kB / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.01393, allocations: 8.328 kB / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.0142, allocations: 242.2 kB / 284.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.322e-06/0.0142, allocations: 0 / 284.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001235/0.01544, allocations: 0.6369 MB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.01549, allocations: 85.11 kB / 285.6 MB, free: 4.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.01573, allocations: 342.3 kB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.01575, allocations: 33.7 kB / 286 MB, free: 4.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01588, allocations: 280 kB / 286.3 MB, free: 3.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.01595, allocations: 138.8 kB / 286.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.01605, allocations: 91.84 kB / 286.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01618, allocations: 0.5157 MB / 287 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.01628, allocations: 60.95 kB / 287.1 MB, free: 2.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.01647, allocations: 276.9 kB / 287.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.01676, allocations: 330 kB / 287.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01676, allocations: 0 / 287.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004529/0.01721, allocations: 408.2 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01723, allocations: 4 kB / 288.1 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01724, allocations: 4 kB / 288.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.01752, allocations: 120 kB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.01765, allocations: 67.84 kB / 288.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.01932, allocations: 2.621 MB / 290.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.01944, allocations: 43.72 kB / 290.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.01946, allocations: 16 kB / 290.9 MB, free: 14.77 MB / 282.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: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.0196, allocations: 192.5 kB / 291.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.01981, allocations: 63.73 kB / 291.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.01986, allocations: 44.3 kB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01987, allocations: 4 kB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01987, allocations: 0 / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01988, allocations: 3.938 kB / 291.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.02067, allocations: 0.7869 MB / 292 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02067, allocations: 0 / 292 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.02076, allocations: 35.92 kB / 292 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.02097, allocations: 107.6 kB / 292.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.02099, allocations: 15.98 kB / 292.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.02271, allocations: 2.621 MB / 294.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.02272, allocations: 4 kB / 294.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.02329, allocations: 0.5571 MB / 295.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.02338, allocations: 75.59 kB / 295.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.02341, allocations: 16 kB / 295.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.02352, allocations: 11.98 kB / 295.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.02359, allocations: 39.88 kB / 295.5 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.02361, allocations: 23.98 kB / 295.5 MB, free: 9.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.02375, allocations: 231 kB / 295.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02375, allocations: 0 / 295.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.0241, allocations: 147.7 kB / 295.9 MB, free: 9.605 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.02421, allocations: 123.2 kB / 296 MB, free: 9.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.0248, allocations: 0.4969 MB / 296.5 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.0248, allocations: 0.9375 kB / 296.5 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.0251, allocations: 393.4 kB / 296.9 MB, free: 8.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.02543, allocations: 69 kB / 297 MB, free: 8.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.027, allocations: 0.8436 MB / 297.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02711, allocations: 122.1 kB / 297.9 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.02721, allocations: 39.34 kB / 298 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.02729, allocations: 32.5 kB / 298 MB, free: 7.395 MB / 282.7 MB Notification: Performance of SimCode: time 2.054e-06/0.02729, allocations: 0 / 298 MB, free: 7.395 MB / 282.7 MB Notification: Performance of Templates: time 0.009553/0.03684, allocations: 6.584 MB / 304.6 MB, free: 0.9648 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2082944130524993]