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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009892/0.0009892, allocations: 111 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 55.89 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2254, allocations: 50.44 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003766/0.2293, allocations: 3.771 MB / 410.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2306, allocations: 0.9506 MB / 411.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.2309, allocations: 11.94 kB / 411.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.2311, allocations: 59.53 kB / 411.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.2314, allocations: 127 kB / 412 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.2317, allocations: 139.8 kB / 412.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.2322, allocations: 0.5836 MB / 412.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.2325, allocations: 195.2 kB / 412.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2327, allocations: 211.1 kB / 413.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.233, allocations: 238.9 kB / 413.3 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.233, allocations: 28 kB / 413.4 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2331, allocations: 40 kB / 413.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.2332, allocations: 95.53 kB / 413.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2334, allocations: 254.6 kB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.2338, allocations: 0.5995 MB / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2338, allocations: 0 / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2338, allocations: 0 / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2338, allocations: 0 / 414.3 MB, free: 20.52 MB / 298.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.001172/0.235, allocations: 0.7924 MB / 415.1 MB, free: 19.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.235, allocations: 8.031 kB / 415.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.2352, allocations: 72.2 kB / 415.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.2356, allocations: 368.7 kB / 415.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2356, allocations: 37.38 kB / 415.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2357, allocations: 44.38 kB / 415.6 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.2363, allocations: 457.5 kB / 416.1 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2363, allocations: 3.938 kB / 416.1 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.2364, allocations: 16 kB / 416.1 MB, free: 18.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2364, allocations: 16 kB / 416.1 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.2369, allocations: 323.8 kB / 416.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.2387, allocations: 1.867 MB / 418.3 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.2393, allocations: 0.606 MB / 418.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.2398, allocations: 276.4 kB / 419.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2398, allocations: 4.328 kB / 419.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/0.2402, allocations: 269.2 kB / 419.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.2402, allocations: 0 / 419.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002033/0.2423, allocations: 0.851 MB / 420.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2423, allocations: 81.11 kB / 420.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.2426, allocations: 328.4 kB / 420.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2426, allocations: 37.7 kB / 420.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2427, allocations: 216.3 kB / 421 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.2428, allocations: 138.1 kB / 421.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2429, allocations: 94.16 kB / 421.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.243, allocations: 350.7 kB / 421.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2432, allocations: 117.1 kB / 421.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.2434, allocations: 263.8 kB / 421.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.2438, allocations: 386.6 kB / 422.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2438, allocations: 0 / 422.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006719/0.2445, allocations: 0.5051 MB / 422.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2445, allocations: 4 kB / 422.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2446, allocations: 4 kB / 422.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.245, allocations: 161 kB / 422.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2452, allocations: 63.91 kB / 423 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.2472, allocations: 2.293 MB / 425.3 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.2474, allocations: 43.53 kB / 425.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2475, allocations: 27.94 kB / 425.4 MB, free: 8.855 MB / 298.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_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.0001631/0.2476, allocations: 182 kB / 425.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.2477, allocations: 35.62 kB / 425.6 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.2478, allocations: 48.41 kB / 425.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2478, allocations: 4 kB / 425.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2478, allocations: 7.938 kB / 425.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2478, allocations: 0 / 425.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.2489, allocations: 1.031 MB / 426.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2489, allocations: 4 kB / 426.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2491, allocations: 27.98 kB / 426.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/0.2494, allocations: 144.8 kB / 426.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.2495, allocations: 15.98 kB / 426.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.2514, allocations: 2.294 MB / 429.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2514, allocations: 11.97 kB / 429.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/0.2566, allocations: 5.232 MB / 434.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.2568, allocations: 148.6 kB / 434.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.2568, allocations: 19.92 kB / 434.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2571, allocations: 12 kB / 434.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2572, allocations: 39.72 kB / 434.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.2572, allocations: 12 kB / 434.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002431/0.2575, allocations: 227.1 kB / 434.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2575, allocations: 4 kB / 434.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007289/0.2582, allocations: 187.7 kB / 435 MB, free: 14.68 MB / 314.7 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.0001765/0.2584, allocations: 119.1 kB / 435.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.2594, allocations: 0.5412 MB / 435.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2594, allocations: 0 / 435.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.2599, allocations: 371.3 kB / 436.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.2604, allocations: 86.34 kB / 436.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.2624, allocations: 1.531 MB / 437.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.2629, allocations: 0.8474 MB / 438.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.263, allocations: 39.44 kB / 438.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.2631, allocations: 31.42 kB / 438.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2631, allocations: 0 / 438.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Templates: time 0.01226/0.2754, allocations: 7.817 MB / 446.4 MB, free: 3.336 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches