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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 107 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009288/0.0009289, allocations: 43.03 kB / 300.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08804/0.08898, allocations: 49.46 MB / 349.6 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004508/0.09353, allocations: 3.731 MB / 353.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.09487, allocations: 0.9042 MB / 354.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.09506, allocations: 15.84 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.09529, allocations: 59.53 kB / 354.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.09558, allocations: 115 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.09589, allocations: 143.9 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.09644, allocations: 0.607 MB / 355.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.09676, allocations: 212.1 kB / 355.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.097, allocations: 227.1 kB / 355.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.09727, allocations: 250.9 kB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.09736, allocations: 56 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.09744, allocations: 52 kB / 355.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.09755, allocations: 123.5 kB / 356.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.09778, allocations: 270.7 kB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.09828, allocations: 0.6152 MB / 356.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09829, allocations: 3.938 kB / 357 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0983, allocations: 4 kB / 357 MB, free: 13.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.09832, allocations: 0 / 357 MB, free: 13.26 MB / 302.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.001204/0.09953, allocations: 0.7845 MB / 357.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.09956, allocations: 8.031 kB / 357.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.09967, allocations: 56.28 kB / 357.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.1001, allocations: 356.3 kB / 358.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1001, allocations: 37.38 kB / 358.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.1002, allocations: 44.31 kB / 358.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.1009, allocations: 465.5 kB / 358.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1009, allocations: 0 / 358.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.101, allocations: 20 kB / 358.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.101, allocations: 8 kB / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.1016, allocations: 331.7 kB / 359 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.1038, allocations: 1.847 MB / 360.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.1046, allocations: 0.6048 MB / 361.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.1051, allocations: 273.3 kB / 361.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1052, allocations: 12.3 kB / 361.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.1056, allocations: 265.2 kB / 362 MB, free: 7.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.664e-06/0.1056, allocations: 3.938 kB / 362 MB, free: 7.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002264/0.1079, allocations: 0.8461 MB / 362.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.108, allocations: 81.11 kB / 363 MB, free: 6.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1083, allocations: 316.5 kB / 363.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1083, allocations: 37.7 kB / 363.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1085, allocations: 224.3 kB / 363.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1086, allocations: 138 kB / 363.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.1087, allocations: 82.25 kB / 363.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1089, allocations: 350.7 kB / 364.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1091, allocations: 121.1 kB / 364.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.1094, allocations: 252.9 kB / 364.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.1099, allocations: 382.7 kB / 364.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1099, allocations: 0 / 364.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008345/0.1108, allocations: 0.5011 MB / 365.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1108, allocations: 8 kB / 365.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1108, allocations: 8.453 kB / 365.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004433/0.1113, allocations: 156.6 kB / 365.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1115, allocations: 67.84 kB / 365.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.1142, allocations: 2.543 MB / 368.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.1145, allocations: 47.62 kB / 368.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1145, allocations: 16 kB / 368.2 MB, free: 1.422 MB / 302.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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002373/0.1147, allocations: 181.7 kB / 368.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.1148, allocations: 31.77 kB / 368.4 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.961e-05/0.1149, allocations: 60.22 kB / 368.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1149, allocations: 4 kB / 368.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.1149, allocations: 4 kB / 368.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.1149, allocations: 3.984 kB / 368.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1163, allocations: 1.02 MB / 369.5 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1163, allocations: 0 / 369.5 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.1165, allocations: 39.91 kB / 369.5 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1509/0.2674, allocations: 137.6 kB / 369.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.2675, allocations: 14.84 kB / 369.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.2699, allocations: 2.536 MB / 372.2 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2699, allocations: 0.7188 kB / 372.2 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.271, allocations: 0.7213 MB / 372.9 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.2712, allocations: 151.6 kB / 373 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.2712, allocations: 7.562 kB / 373.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2714, allocations: 24.53 kB / 373.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.2716, allocations: 32.94 kB / 373.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.2716, allocations: 14.36 kB / 373.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.2718, allocations: 217.1 kB / 373.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2718, allocations: 1.156 kB / 373.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.2724, allocations: 145.9 kB / 373.5 MB, free: 23.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001196/0.2725, allocations: 124.6 kB / 373.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009236/0.2734, allocations: 0.5401 MB / 374.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2734, allocations: 0 / 374.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.2739, allocations: 389.2 kB / 374.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2744, allocations: 81.77 kB / 374.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2758, allocations: 1.021 MB / 375.6 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.276, allocations: 0.8316 MB / 376.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.2762, allocations: 40.83 kB / 376.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.2762, allocations: 27.67 kB / 376.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2763, allocations: 0 / 376.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01094/0.2872, allocations: 6.798 MB / 383.3 MB, free: 20.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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) Reference file matches