Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002044/0.002044, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 96.42 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007677/0.0007677, allocations: 43.94 kB / 327.2 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2173, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004605/0.222, allocations: 3.695 MB / 377.5 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2238, allocations: 0.939 MB / 378.5 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.2245, allocations: 6.719 kB / 378.5 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.2249, allocations: 59.27 kB / 378.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006421/0.2256, allocations: 125.6 kB / 378.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.226, allocations: 137.4 kB / 378.8 MB, free: 41.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.2265, allocations: 0.5796 MB / 379.4 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.2269, allocations: 184.7 kB / 379.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.2271, allocations: 206.2 kB / 379.7 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.2274, allocations: 229.9 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.2274, allocations: 29.75 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.2275, allocations: 31.5 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.2276, allocations: 97.61 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.2278, allocations: 240.2 kB / 380.4 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.2283, allocations: 0.5804 MB / 380.9 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2283, allocations: 5.031 kB / 380.9 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2283, allocations: 0 / 380.9 MB, free: 40.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.2283, allocations: 0 / 380.9 MB, free: 40.45 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001224/0.2296, allocations: 0.7785 MB / 381.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2296, allocations: 9.312 kB / 381.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.2297, allocations: 60.41 kB / 381.8 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.2301, allocations: 363.9 kB / 382.2 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.2301, allocations: 30.62 kB / 382.2 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.2302, allocations: 40.62 kB / 382.2 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.2309, allocations: 458.2 kB / 382.7 MB, free: 39.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.2309, allocations: 0.875 kB / 382.7 MB, free: 39.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.231, allocations: 16.44 kB / 382.7 MB, free: 39.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.231, allocations: 9.562 kB / 382.7 MB, free: 39.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.2315, allocations: 319 kB / 383 MB, free: 38.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.2336, allocations: 1.826 MB / 384.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.2343, allocations: 0.6221 MB / 385.5 MB, free: 36.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.2348, allocations: 267.4 kB / 385.7 MB, free: 36.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.2349, allocations: 4.672 kB / 385.7 MB, free: 36.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.2353, allocations: 276.5 kB / 386 MB, free: 36.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.2353, allocations: 3.938 kB / 386 MB, free: 36.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002162/0.2375, allocations: 0.8414 MB / 386.8 MB, free: 36.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2375, allocations: 81.77 kB / 386.9 MB, free: 35.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.2378, allocations: 321.9 kB / 387.2 MB, free: 35.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.2379, allocations: 40.97 kB / 387.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.238, allocations: 210 kB / 387.5 MB, free: 35.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.238, allocations: 138 kB / 387.6 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2382, allocations: 86.25 kB / 387.7 MB, free: 35.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.2382, allocations: 350.7 kB / 388 MB, free: 34.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2384, allocations: 117.1 kB / 388.1 MB, free: 34.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2386, allocations: 253 kB / 388.4 MB, free: 34.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2391, allocations: 384.9 kB / 388.8 MB, free: 34.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2391, allocations: 8 kB / 388.8 MB, free: 34.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006405/0.2397, allocations: 0.5015 MB / 389.3 MB, free: 33.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2397, allocations: 12.03 kB / 389.3 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2398, allocations: 4 kB / 389.3 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.2402, allocations: 144.7 kB / 389.4 MB, free: 33.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2404, allocations: 63.91 kB / 389.5 MB, free: 33.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.2424, allocations: 2.313 MB / 391.8 MB, free: 30.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.2427, allocations: 51.56 kB / 391.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2427, allocations: 15.94 kB / 391.9 MB, free: 30.82 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001648/0.2429, allocations: 173.8 kB / 392 MB, free: 30.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.2429, allocations: 39.53 kB / 392.1 MB, free: 30.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.243, allocations: 52.23 kB / 392.1 MB, free: 30.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.243, allocations: 4 kB / 392.1 MB, free: 30.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2431, allocations: 4 kB / 392.1 MB, free: 30.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2431, allocations: 3.984 kB / 392.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2442, allocations: 1.024 MB / 393.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2442, allocations: 0 / 393.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2443, allocations: 35.98 kB / 393.2 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.2446, allocations: 142.7 kB / 393.3 MB, free: 29.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.2447, allocations: 11.98 kB / 393.4 MB, free: 29.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.2465, allocations: 2.305 MB / 395.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2465, allocations: 0 / 395.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.2515, allocations: 5.232 MB / 400.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2517, allocations: 152.6 kB / 401 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.2517, allocations: 12 kB / 401.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.2519, allocations: 15.98 kB / 401.1 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.252, allocations: 36.17 kB / 401.1 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.2521, allocations: 12 kB / 401.1 MB, free: 21.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2522, allocations: 219.1 kB / 401.3 MB, free: 20.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.232e-06/0.2523, allocations: 0 / 401.3 MB, free: 20.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006795/0.2529, allocations: 195.6 kB / 401.5 MB, free: 20.66 MB / 298.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001216/0.2531, allocations: 115.9 kB / 401.6 MB, free: 20.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.2539, allocations: 0.5268 MB / 402.2 MB, free: 20 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2539, allocations: 4 kB / 402.2 MB, free: 19.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.2543, allocations: 378.2 kB / 402.5 MB, free: 19.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.2548, allocations: 80.62 kB / 402.6 MB, free: 19.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.2565, allocations: 1.496 MB / 404.1 MB, free: 17.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2567, allocations: 0.8357 MB / 404.9 MB, free: 17.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.2569, allocations: 39.3 kB / 405 MB, free: 17.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.2569, allocations: 31.44 kB / 405 MB, free: 17.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2569, allocations: 0 / 405 MB, free: 17.05 MB / 298.7 MB Notification: Performance of Templates: time 0.01008/0.267, allocations: 7.715 MB / 412.7 MB, free: 9.352 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches