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.001512/0.001512, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001595/0.001595, allocations: 158.4 kB / 25.61 MB, free: 8.887 MB / 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.9002/0.9002, allocations: 177 MB / 205.9 MB, free: 4.441 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.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 1.523e-06/1.523e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.1e-05, allocations: 7.531 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005839/0.00586, allocations: 4.652 MB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.00827, allocations: 1.363 MB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.008606, allocations: 39.69 kB / 280.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.009149, allocations: 226.4 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.009681, allocations: 377.5 kB / 280.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.009974, allocations: 239.5 kB / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.01103, allocations: 1.603 MB / 282.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.01155, allocations: 0.5476 MB / 283.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007747/0.01233, allocations: 0.9708 MB / 284.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.01303, allocations: 0.7599 MB / 284.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.01319, allocations: 164 kB / 285.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.01338, allocations: 168 kB / 285.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.01366, allocations: 474.7 kB / 285.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.01407, allocations: 0.5028 MB / 286.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008861/0.01495, allocations: 1.219 MB / 287.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01496, allocations: 0 / 287.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01496, allocations: 4 kB / 287.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.01497, allocations: 0 / 287.4 MB, free: 6.922 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00207/0.01704, allocations: 2.129 MB / 289.5 MB, free: 4.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.01707, allocations: 12.03 kB / 289.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.01741, allocations: 240 kB / 289.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008095/0.01822, allocations: 0.7993 MB / 290.6 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.01826, allocations: 82.36 kB / 290.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.01836, allocations: 96.38 kB / 290.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.01921, allocations: 0.8095 MB / 291.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.01923, allocations: 3.938 kB / 291.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.01929, allocations: 44 kB / 291.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.01934, allocations: 41.98 kB / 291.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.01977, allocations: 289.6 kB / 291.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.02299, allocations: 3.373 MB / 295.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.02355, allocations: 0.5445 MB / 295.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.02397, allocations: 336.8 kB / 296.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.024, allocations: 16.64 kB / 296.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.02437, allocations: 389.5 kB / 296.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 2.364e-06/0.02437, allocations: 0 / 296.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.00287/0.02724, allocations: 1.446 MB / 298 MB, free: 12.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.0273, allocations: 115.5 kB / 298.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.02779, allocations: 0.6866 MB / 298.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.02783, allocations: 41.7 kB / 298.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.02812, allocations: 0.5657 MB / 299.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.02826, allocations: 261.9 kB / 299.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.0284, allocations: 148.2 kB / 299.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.02858, allocations: 0.5936 MB / 300.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.0287, allocations: 81.92 kB / 300.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.02894, allocations: 355.9 kB / 300.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.0293, allocations: 407.5 kB / 301.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.0293, allocations: 7.938 kB / 301.3 MB, free: 8.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006418/0.02994, allocations: 0.5742 MB / 301.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.02996, allocations: 8 kB / 301.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.02996, allocations: 4 kB / 301.8 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.03038, allocations: 236.3 kB / 302.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.03057, allocations: 87.89 kB / 302.2 MB, free: 7.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.03395, allocations: 3.582 MB / 305.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.03424, allocations: 59.61 kB / 305.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.03427, allocations: 24 kB / 305.8 MB, free: 3.848 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: 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.0002348/0.03451, allocations: 210.4 kB / 306 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.03464, allocations: 115.4 kB / 306.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.03478, allocations: 100.4 kB / 306.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.03479, allocations: 8 kB / 306.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.03479, allocations: 7.938 kB / 306.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.0348, allocations: 3.984 kB / 306.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.03667, allocations: 1.359 MB / 307.6 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.03668, allocations: 0 / 307.6 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.03686, allocations: 59.91 kB / 307.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/0.03736, allocations: 219.4 kB / 307.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.0374, allocations: 15.98 kB / 307.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.04075, allocations: 3.527 MB / 311.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.04075, allocations: 3.938 kB / 311.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.04178, allocations: 0.7878 MB / 312.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.04203, allocations: 167.2 kB / 312.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.04211, allocations: 16 kB / 312.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.04235, allocations: 23.98 kB / 312.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.04248, allocations: 72.52 kB / 312.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.04251, allocations: 16 kB / 312.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003431/0.04286, allocations: 418.8 kB / 312.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04286, allocations: 0 / 312.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007148/0.04357, allocations: 347.3 kB / 313.3 MB, free: 12.21 MB / 298.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.0001494/0.04372, allocations: 127.1 kB / 313.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.04469, allocations: 0.7626 MB / 314.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.04469, allocations: 0 / 314.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.04534, allocations: 0.6135 MB / 314.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.04613, allocations: 272.7 kB / 315 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.04887, allocations: 1.985 MB / 317 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.04918, allocations: 372 kB / 317.4 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.0494, allocations: 83.16 kB / 317.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.04987, allocations: 302 kB / 317.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.04987, allocations: 3.938 kB / 317.8 MB, free: 7.613 MB / 298.7 MB Notification: Performance of Templates: time 0.0258/0.07567, allocations: 20.05 MB / 337.8 MB, free: 3.828 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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.0176485758274794]