Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 149.7 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.61 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08576, allocations: 52.16 MB / 371.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005134/0.0909, allocations: 3.391 MB / 375 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.09252, allocations: 0.896 MB / 375.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.0927, allocations: 11.94 kB / 375.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.09292, allocations: 75.17 kB / 376 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.09325, allocations: 158.7 kB / 376.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.09358, allocations: 163.7 kB / 376.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.09425, allocations: 0.6031 MB / 376.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.09453, allocations: 140.6 kB / 377 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.09482, allocations: 235.1 kB / 377.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.09516, allocations: 226.8 kB / 377.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.357e-05/0.09524, allocations: 56 kB / 377.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.09534, allocations: 56 kB / 377.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.09547, allocations: 119.5 kB / 377.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.09571, allocations: 223 kB / 377.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.09641, allocations: 0.6342 MB / 378.6 MB, free: 324 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.09641, allocations: 4 kB / 378.6 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09642, allocations: 0 / 378.6 MB, free: 320 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.09642, allocations: 0 / 378.6 MB, free: 320 kB / 334.1 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.001517/0.09794, allocations: 0.8439 MB / 379.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.09797, allocations: 8.922 kB / 379.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.09808, allocations: 56.61 kB / 379.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.09856, allocations: 315.2 kB / 379.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.09859, allocations: 29.38 kB / 379.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.09866, allocations: 44.38 kB / 379.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.09946, allocations: 491.2 kB / 380.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.09948, allocations: 4 kB / 380.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.09952, allocations: 16 kB / 380.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.09954, allocations: 12 kB / 380.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.1002, allocations: 323.8 kB / 380.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.1025, allocations: 1.608 MB / 382.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.1032, allocations: 351.9 kB / 382.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.1039, allocations: 245.4 kB / 382.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1039, allocations: 8.328 kB / 382.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/0.1044, allocations: 298.8 kB / 383.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.1044, allocations: 3.938 kB / 383.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.0024/0.1068, allocations: 0.7643 MB / 383.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1069, allocations: 89.11 kB / 384 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1072, allocations: 304.5 kB / 384.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.1072, allocations: 33.7 kB / 384.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1074, allocations: 225.3 kB / 384.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1075, allocations: 138.8 kB / 384.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1077, allocations: 90.08 kB / 384.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1078, allocations: 350.7 kB / 385.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1081, allocations: 124.9 kB / 385.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.1084, allocations: 270.1 kB / 385.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.109, allocations: 391.1 kB / 385.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.109, allocations: 0 / 385.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009074/0.11, allocations: 0.4981 MB / 386.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.11, allocations: 10.81 kB / 386.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.11, allocations: 7.938 kB / 386.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.1105, allocations: 144.7 kB / 386.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.1107, allocations: 63.91 kB / 386.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.1137, allocations: 2.386 MB / 389 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.114, allocations: 43.78 kB / 389.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.114, allocations: 12 kB / 389.1 MB, free: 5.312 MB / 350.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: 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.0002244/0.1143, allocations: 177.8 kB / 389.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.1143, allocations: 39.7 kB / 389.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1144, allocations: 51.42 kB / 389.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1144, allocations: 4 kB / 389.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1144, allocations: 0 / 389.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1144, allocations: 0 / 389.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.1159, allocations: 0.8719 MB / 390.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1159, allocations: 0 / 390.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.1161, allocations: 39.92 kB / 390.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/0.1165, allocations: 140.8 kB / 390.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1165, allocations: 16.02 kB / 390.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.1195, allocations: 2.379 MB / 392.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1195, allocations: 3.984 kB / 392.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.1207, allocations: 0.7172 MB / 393.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1209, allocations: 75.7 kB / 393.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.1209, allocations: 11.98 kB / 393.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1212, allocations: 12 kB / 393.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1213, allocations: 43.86 kB / 393.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.1213, allocations: 8 kB / 393.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.1215, allocations: 219.1 kB / 393.9 MB, free: 344 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1215, allocations: 0 / 393.9 MB, free: 344 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.1221, allocations: 151.7 kB / 394 MB, free: 192 kB / 350.1 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.0001387/0.1223, allocations: 115.2 kB / 394.1 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.1233, allocations: 0.5213 MB / 394.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1233, allocations: 4 kB / 394.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.1239, allocations: 359.2 kB / 395 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1243, allocations: 75.83 kB / 395.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.126, allocations: 0.8779 MB / 395.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1263, allocations: 228.8 kB / 396.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1264, allocations: 35.28 kB / 396.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.1265, allocations: 28.48 kB / 396.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1265, allocations: 4 kB / 396.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Templates: time 0.01261/0.1391, allocations: 6.359 MB / 402.6 MB, free: 7.676 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.3689769910415635]