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.0007844/0.0007844, allocations: 96.19 kB / 17.31 MB, free: 5.941 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.0008282/0.0008282, allocations: 178.9 kB / 18.21 MB, free: 5.418 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.136/1.136, allocations: 223.3 MB / 242.3 MB, free: 14.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002047/0.0002047, allocations: 11.94 kB / 302.1 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0729/0.07312, allocations: 50.41 MB / 352.5 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003166/0.07632, allocations: 3.345 MB / 355.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.07746, allocations: 0.8924 MB / 356.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.07762, allocations: 11.94 kB / 356.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.07777, allocations: 55.53 kB / 356.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.07803, allocations: 123 kB / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.07829, allocations: 139.9 kB / 357.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.07879, allocations: 0.5758 MB / 357.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.07907, allocations: 183.2 kB / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.07926, allocations: 183.2 kB / 358 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.0795, allocations: 214.9 kB / 358.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.07955, allocations: 24 kB / 358.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.07962, allocations: 24 kB / 358.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.0797, allocations: 87.55 kB / 358.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.0799, allocations: 260.4 kB / 358.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.08026, allocations: 470.7 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.08027, allocations: 0 / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08028, allocations: 0 / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.08029, allocations: 3.938 kB / 359.1 MB, free: 12.81 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.001018/0.08131, allocations: 0.6911 MB / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.08135, allocations: 12.03 kB / 359.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.613e-05/0.08145, allocations: 56.28 kB / 359.8 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.08183, allocations: 364.1 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.08187, allocations: 33.38 kB / 360.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.08194, allocations: 48.38 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.08261, allocations: 457.5 kB / 360.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.08264, allocations: 4 kB / 360.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.08268, allocations: 20 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.0827, allocations: 15.98 kB / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.08324, allocations: 327.8 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.0853, allocations: 1.867 MB / 362.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.086, allocations: 0.6125 MB / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.08651, allocations: 273.4 kB / 363.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.08655, allocations: 8.328 kB / 363.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.08695, allocations: 273.1 kB / 364.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.492e-06/0.08696, allocations: 0 / 364.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002059/0.08902, allocations: 0.8617 MB / 365 MB, free: 6.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.08908, allocations: 81.11 kB / 365 MB, free: 6.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.08937, allocations: 304.6 kB / 365.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.08942, allocations: 41.69 kB / 365.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.08955, allocations: 220.2 kB / 365.6 MB, free: 5.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.08965, allocations: 134.1 kB / 365.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.08971, allocations: 53.69 kB / 365.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.08983, allocations: 346.8 kB / 366.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.09005, allocations: 121.1 kB / 366.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.09034, allocations: 257 kB / 366.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.09084, allocations: 378.8 kB / 366.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.09085, allocations: 0 / 366.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007682/0.09162, allocations: 0.5089 MB / 367.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.09165, allocations: 8.406 kB / 367.4 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.09166, allocations: 8 kB / 367.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.09207, allocations: 164.6 kB / 367.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.09229, allocations: 59.91 kB / 367.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.09466, allocations: 2.326 MB / 369.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.09488, allocations: 39.69 kB / 370 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.09492, allocations: 27.97 kB / 370 MB, free: 1.27 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.0001782/0.0951, allocations: 177.8 kB / 370.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.09515, allocations: 43.47 kB / 370.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.734e-05/0.09525, allocations: 48.3 kB / 370.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.09526, allocations: 4 kB / 370.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.09526, allocations: 3.938 kB / 370.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.09527, allocations: 3.984 kB / 370.3 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1309/0.2262, allocations: 1.015 MB / 371.3 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2263, allocations: 1.062 kB / 371.3 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.2265, allocations: 37.59 kB / 371.3 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.2269, allocations: 142.7 kB / 371.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.2269, allocations: 11.7 kB / 371.5 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.2291, allocations: 2.316 MB / 373.8 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2291, allocations: 0 / 373.8 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2302, allocations: 0.7254 MB / 374.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2304, allocations: 148.9 kB / 374.6 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.2304, allocations: 15.45 kB / 374.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.2306, allocations: 14.28 kB / 374.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.2307, allocations: 35.83 kB / 374.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.2307, allocations: 14.33 kB / 374.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.2309, allocations: 217.7 kB / 374.9 MB, free: 22.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2309, allocations: 0 / 374.9 MB, free: 22.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.2315, allocations: 152.5 kB / 375.1 MB, free: 22.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.0001084/0.2316, allocations: 121.7 kB / 375.2 MB, free: 22.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000836/0.2324, allocations: 0.5352 MB / 375.7 MB, free: 22.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2324, allocations: 0 / 375.7 MB, free: 22.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.2329, allocations: 381.7 kB / 376.1 MB, free: 22.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.2333, allocations: 78.19 kB / 376.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2347, allocations: 1.102 MB / 377.3 MB, free: 21.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2349, allocations: 0.8289 MB / 378.1 MB, free: 20.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.235, allocations: 29.19 kB / 378.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.235, allocations: 0 / 378.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of Templates: time 0.009055/0.2441, allocations: 6.925 MB / 385.1 MB, free: 19.06 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/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) Reference file matches