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.001341/0.001341, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001526/0.001526, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.002299/0.002299, allocations: 67.91 kB / 378.2 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2334, allocations: 53.42 MB / 431.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006402/0.2398, allocations: 4.332 MB / 436 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.2429, allocations: 1.324 MB / 437.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.2433, allocations: 35.75 kB / 437.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006766/0.244, allocations: 226.4 kB / 437.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009856/0.2449, allocations: 369.9 kB / 437.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.2454, allocations: 235.7 kB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.2471, allocations: 1.557 MB / 439.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.2479, allocations: 0.5399 MB / 440.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.2488, allocations: 0.6775 MB / 440.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.2499, allocations: 0.7705 MB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.2501, allocations: 171.9 kB / 441.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.2504, allocations: 175.9 kB / 442.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.2508, allocations: 442.8 kB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.2515, allocations: 0.5912 MB / 443.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.2537, allocations: 2.124 MB / 445.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2537, allocations: 0 / 445.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2537, allocations: 0 / 445.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.2537, allocations: 0 / 445.2 MB, free: 8.902 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.003516/0.2572, allocations: 1.896 MB / 447.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2573, allocations: 11.98 kB / 447.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.2578, allocations: 176 kB / 447.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.2595, allocations: 0.9163 MB / 448.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.2596, allocations: 78.36 kB / 448.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.2597, allocations: 100.1 kB / 448.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.2622, allocations: 1.485 MB / 449.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.2622, allocations: 8 kB / 449.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.2623, allocations: 36 kB / 449.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.2623, allocations: 45.97 kB / 449.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.2645, allocations: 1.296 MB / 451.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006315/0.2709, allocations: 3.776 MB / 455 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2725, allocations: 1.002 MB / 456 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.2738, allocations: 0.6728 MB / 456.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.2738, allocations: 8.656 kB / 456.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.2749, allocations: 0.6478 MB / 457.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.424e-06/0.2749, allocations: 0 / 457.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007493/0.2824, allocations: 2.751 MB / 460.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.2824, allocations: 115.5 kB / 460.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.2836, allocations: 0.8051 MB / 461 MB, free: 8.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/0.2837, allocations: 41.7 kB / 461.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.2841, allocations: 0.4968 MB / 461.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.2844, allocations: 253.9 kB / 461.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.2846, allocations: 138.7 kB / 461.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2848, allocations: 394.7 kB / 462.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.2855, allocations: 393.7 kB / 462.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.2863, allocations: 0.5957 MB / 463.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.2877, allocations: 0.9132 MB / 464.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2877, allocations: 4 kB / 464.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002508/0.2902, allocations: 1.29 MB / 465.5 MB, free: 4.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.2902, allocations: 7.938 kB / 465.5 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.2902, allocations: 7.984 kB / 465.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.2913, allocations: 480.4 kB / 466 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.2917, allocations: 91.83 kB / 466.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/0.2996, allocations: 5.376 MB / 471.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.3003, allocations: 79.64 kB / 471.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.3003, allocations: 24 kB / 471.6 MB, free: 13.99 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.000743/0.301, allocations: 467.2 kB / 472 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3012, allocations: 91.38 kB / 472.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.3014, allocations: 116.4 kB / 472.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3014, allocations: 8 kB / 472.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3014, allocations: 0 / 472.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3014, allocations: 3.984 kB / 472.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/0.3056, allocations: 2.298 MB / 474.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3056, allocations: 8.125 kB / 474.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.3059, allocations: 63.83 kB / 474.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.3069, allocations: 464.2 kB / 475.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.3069, allocations: 12 kB / 475.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007785/0.3147, allocations: 5.313 MB / 480.4 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3147, allocations: 0 / 480.4 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.3179, allocations: 1.902 MB / 482.3 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.3186, allocations: 199.3 kB / 482.5 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3187, allocations: 16 kB / 482.5 MB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.3191, allocations: 43.89 kB / 482.5 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.3193, allocations: 76.5 kB / 482.6 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.3194, allocations: 20 kB / 482.6 MB, free: 2.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008121/0.3202, allocations: 0.581 MB / 483.2 MB, free: 2.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3202, allocations: 0 / 483.2 MB, free: 2.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3212, allocations: 347.2 kB / 483.5 MB, free: 1.816 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.0001992/0.3214, allocations: 142.7 kB / 483.7 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.3236, allocations: 1.247 MB / 484.9 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3236, allocations: 4.812 kB / 484.9 MB, free: 416 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.3249, allocations: 0.7928 MB / 485.7 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.326, allocations: 254.6 kB / 486 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.3303, allocations: 2.367 MB / 488.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.3312, allocations: 0.738 MB / 489.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004425/0.3316, allocations: 147.1 kB / 489.2 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3318, allocations: 59.42 kB / 489.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3318, allocations: 0 / 489.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of Templates: time 0.03337/0.3652, allocations: 19.87 MB / 0.4972 GB, free: 8.375 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/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: 5.14235713519156]