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.001457/0.001457, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001631/0.001631, allocations: 156.9 kB / 24.27 MB, free: 168 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 1.488/1.488, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.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 2.255e-06/2.255e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.18e-05, allocations: 5.266 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.009632/0.009663, allocations: 3.443 MB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.0129, allocations: 0.9621 MB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.01325, allocations: 7.938 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.01365, allocations: 83.16 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.01437, allocations: 158.6 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.01515, allocations: 191.5 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.01653, allocations: 0.6418 MB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.01704, allocations: 148.5 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009619/0.018, allocations: 359.2 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.01861, allocations: 187.4 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.01878, allocations: 56 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.01901, allocations: 60 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.01924, allocations: 131.5 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.01971, allocations: 187.5 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.02109, allocations: 0.6543 MB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02109, allocations: 0 / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02109, allocations: 0 / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.02111, allocations: 0 / 279.5 MB, free: 10.5 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.002756/0.02387, allocations: 0.8477 MB / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.02392, allocations: 15.92 kB / 280.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.0244, allocations: 104.6 kB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009953/0.0254, allocations: 326.4 kB / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.02547, allocations: 29.38 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.02562, allocations: 48.38 kB / 280.8 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.02714, allocations: 483.8 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.02717, allocations: 4.188 kB / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.02726, allocations: 23.94 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.02728, allocations: 12 kB / 281.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.02849, allocations: 319.7 kB / 281.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004977/0.03347, allocations: 1.635 MB / 283.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.03472, allocations: 351.9 kB / 283.6 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.0358, allocations: 257.2 kB / 283.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.03585, allocations: 4.328 kB / 283.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/0.03678, allocations: 298.9 kB / 284.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/0.03679, allocations: 0 / 284.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.004598/0.04138, allocations: 0.7904 MB / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.04151, allocations: 93.09 kB / 285.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.04222, allocations: 300.6 kB / 285.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.04229, allocations: 33.7 kB / 285.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.04266, allocations: 233.2 kB / 285.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.04292, allocations: 142.8 kB / 285.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.04319, allocations: 90.14 kB / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003409/0.04353, allocations: 346.8 kB / 286.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/0.04403, allocations: 117 kB / 286.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.04477, allocations: 282.1 kB / 286.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.04596, allocations: 381.8 kB / 286.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.04597, allocations: 0 / 286.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001924/0.04789, allocations: 0.5248 MB / 287.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.04792, allocations: 8 kB / 287.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.04794, allocations: 4 kB / 287.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008981/0.04884, allocations: 145 kB / 287.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.04934, allocations: 67.91 kB / 287.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006347/0.05569, allocations: 2.402 MB / 290.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.05621, allocations: 43.77 kB / 290.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.05627, allocations: 20 kB / 290.1 MB, free: 15.31 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.0004133/0.05668, allocations: 177.7 kB / 290.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.05686, allocations: 51.75 kB / 290.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.05704, allocations: 48.3 kB / 290.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.05705, allocations: 8 kB / 290.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.05705, allocations: 0 / 290.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.05707, allocations: 11.88 kB / 290.4 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.06007, allocations: 0.8681 MB / 291.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.06007, allocations: 0 / 291.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.06043, allocations: 31.92 kB / 291.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/0.06128, allocations: 148.9 kB / 291.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.06133, allocations: 15.98 kB / 291.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006009/0.06734, allocations: 2.387 MB / 293.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.06734, allocations: 0 / 293.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.06972, allocations: 0.7192 MB / 294.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.07003, allocations: 75.7 kB / 294.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.07013, allocations: 4 kB / 294.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.07058, allocations: 19.98 kB / 294.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.07075, allocations: 35.94 kB / 294.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.07081, allocations: 19.92 kB / 294.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004614/0.07128, allocations: 219.1 kB / 295 MB, free: 10.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.07128, allocations: 0 / 295 MB, free: 10.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00118/0.07245, allocations: 147.7 kB / 295.1 MB, free: 10.16 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.0002607/0.07272, allocations: 115.1 kB / 295.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.07466, allocations: 0.5317 MB / 295.8 MB, free: 9.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.07467, allocations: 7.984 kB / 295.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.07579, allocations: 359 kB / 296.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.07692, allocations: 85.31 kB / 296.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.08013, allocations: 0.8656 MB / 297.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.08057, allocations: 228.7 kB / 297.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.08081, allocations: 35.28 kB / 297.3 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.08094, allocations: 32.48 kB / 297.4 MB, free: 7.828 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.08094, allocations: 4 kB / 297.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of Templates: time 0.02495/0.1059, allocations: 6.51 MB / 303.9 MB, free: 1.477 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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: 4.549891301896423]