Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008282/0.0008282, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.334e-05, allocations: 4.844 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003778/0.003801, allocations: 3.676 MB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.005295, allocations: 0.9698 MB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.005532, allocations: 11.94 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.005722, allocations: 83.22 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.006046, allocations: 154.6 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.006404, allocations: 187.5 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.006927, allocations: 0.634 MB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.007164, allocations: 140.6 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.007583, allocations: 359.2 kB / 279.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.007842, allocations: 199.4 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.007905, allocations: 56 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.007994, allocations: 68 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.008063, allocations: 119.5 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.008195, allocations: 191.5 kB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.008562, allocations: 418.5 kB / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.008564, allocations: 0 / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008565, allocations: 0 / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.008571, allocations: 0 / 280.6 MB, free: 9.98 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.0009219/0.009493, allocations: 0.9712 MB / 281.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.009526, allocations: 12.03 kB / 281.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.009691, allocations: 96.59 kB / 281.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.009991, allocations: 320.2 kB / 282 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.01001, allocations: 29.38 kB / 282.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.01006, allocations: 48.38 kB / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.01042, allocations: 381.4 kB / 282.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.01044, allocations: 8.125 kB / 282.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.01047, allocations: 19.94 kB / 282.5 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01047, allocations: 8 kB / 282.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.01064, allocations: 134.8 kB / 282.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.01227, allocations: 1.793 MB / 284.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.0126, allocations: 281 kB / 284.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.01285, allocations: 188.1 kB / 284.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.01287, allocations: 8.328 kB / 284.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.0131, allocations: 238.1 kB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.0131, allocations: 0 / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001091/0.0142, allocations: 0.5872 MB / 285.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.01423, allocations: 85.11 kB / 285.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.01443, allocations: 338.1 kB / 286.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.01445, allocations: 37.7 kB / 286.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01458, allocations: 280 kB / 286.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.01465, allocations: 142.8 kB / 286.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.01474, allocations: 91.81 kB / 286.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.01487, allocations: 0.5195 MB / 287.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.01494, allocations: 48.95 kB / 287.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.01509, allocations: 259.2 kB / 287.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.01532, allocations: 306.5 kB / 287.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01532, allocations: 0 / 287.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003881/0.01571, allocations: 368.3 kB / 288.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01573, allocations: 8 kB / 288.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01573, allocations: 4.469 kB / 288.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.01596, allocations: 115.5 kB / 288.3 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.0161, allocations: 67.84 kB / 288.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.0179, allocations: 2.55 MB / 290.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.01803, allocations: 39.73 kB / 290.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01805, allocations: 16 kB / 291 MB, free: 15.07 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.0001282/0.01818, allocations: 208.4 kB / 291.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.01823, allocations: 55.77 kB / 291.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.01828, allocations: 44.3 kB / 291.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01829, allocations: 4 kB / 291.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01829, allocations: 0 / 291.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01829, allocations: 0 / 291.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.019, allocations: 0.7093 MB / 292 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.019, allocations: 0 / 292 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.01909, allocations: 35.92 kB / 292 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.01928, allocations: 106.6 kB / 292.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.0193, allocations: 19.92 kB / 292.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.02072, allocations: 2.556 MB / 294.7 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02072, allocations: 3.938 kB / 294.7 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.02117, allocations: 0.5162 MB / 295.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.02126, allocations: 75.58 kB / 295.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.02129, allocations: 16 kB / 295.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.02139, allocations: 15.98 kB / 295.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.02145, allocations: 39.88 kB / 295.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.02147, allocations: 11.98 kB / 295.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.02158, allocations: 222.9 kB / 295.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02158, allocations: 0 / 295.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.02196, allocations: 147.7 kB / 295.7 MB, free: 10.11 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.0001077/0.02206, allocations: 115.2 kB / 295.8 MB, free: 9.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.02252, allocations: 472.6 kB / 296.3 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02253, allocations: 0.9375 kB / 296.3 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.02279, allocations: 373 kB / 296.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.02308, allocations: 81.17 kB / 296.7 MB, free: 9.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.02452, allocations: 0.8284 MB / 297.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.02461, allocations: 130.1 kB / 297.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.593e-05/0.02469, allocations: 31.28 kB / 297.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.02484, allocations: 154.1 kB / 297.9 MB, free: 7.836 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02484, allocations: 0 / 297.9 MB, free: 7.836 MB / 282.7 MB Notification: Performance of Templates: time 0.009512/0.03435, allocations: 7.003 MB / 304.9 MB, free: 1.027 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.8770483010448515]