Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.002069/0.002069, allocations: 92.62 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002391/0.002391, allocations: 149.4 kB / 24.25 MB, free: 180 kB / 18.57 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.449/1.449, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.731e-05, allocations: 6.312 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006813/0.00684, allocations: 4.314 MB / 271.7 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.009776, allocations: 1.266 MB / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.01023, allocations: 39.69 kB / 273 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.01096, allocations: 234.4 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.01199, allocations: 377.5 kB / 273.6 MB, free: 448 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.01248, allocations: 215.5 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.01446, allocations: 1.572 MB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009091/0.01537, allocations: 0.5398 MB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.0168, allocations: 0.959 MB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.018, allocations: 0.6897 MB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004892/0.01849, allocations: 164 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.01878, allocations: 164 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.01927, allocations: 462.7 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007169/0.01999, allocations: 0.4989 MB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.0225, allocations: 2.131 MB / 280.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.0225, allocations: 3.938 kB / 280.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02251, allocations: 0 / 280.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.02254, allocations: 4 kB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003791/0.02633, allocations: 1.865 MB / 282.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.02637, allocations: 12.92 kB / 282.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.02678, allocations: 224 kB / 283 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.02844, allocations: 0.9197 MB / 284 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.02851, allocations: 70.38 kB / 284 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.0287, allocations: 104.4 kB / 284.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.03169, allocations: 1.494 MB / 285.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.03172, allocations: 3.938 kB / 285.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.03183, allocations: 40 kB / 285.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.03189, allocations: 53.92 kB / 285.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.0343, allocations: 1.288 MB / 287 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/0.1517, allocations: 3.814 MB / 290.8 MB, free: 30.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.1536, allocations: 0.9896 MB / 291.8 MB, free: 30.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.1549, allocations: 0.6804 MB / 292.5 MB, free: 30.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.399e-05/0.155, allocations: 12.03 kB / 292.5 MB, free: 30.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009965/0.156, allocations: 0.648 MB / 293.2 MB, free: 30.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.284e-06/0.156, allocations: 1.156 kB / 293.2 MB, free: 30.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.007398/0.1634, allocations: 2.777 MB / 295.9 MB, free: 29.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1634, allocations: 113 kB / 296 MB, free: 29.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1644, allocations: 0.7863 MB / 296.8 MB, free: 29.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.1645, allocations: 42.08 kB / 296.9 MB, free: 29.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.1648, allocations: 494.7 kB / 297.4 MB, free: 28.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.165, allocations: 256.2 kB / 297.6 MB, free: 28.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.1652, allocations: 130.7 kB / 297.7 MB, free: 28.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1653, allocations: 393.7 kB / 298.1 MB, free: 28.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.1658, allocations: 395.3 kB / 298.5 MB, free: 28.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.1665, allocations: 0.5983 MB / 299.1 MB, free: 27.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.1676, allocations: 0.9213 MB / 300 MB, free: 27.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1676, allocations: 1.688 kB / 300 MB, free: 27.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00192/0.1696, allocations: 1.314 MB / 301.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1696, allocations: 7.375 kB / 301.3 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1696, allocations: 8.781 kB / 301.4 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009954/0.1706, allocations: 468 kB / 301.8 MB, free: 26.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.1709, allocations: 98 kB / 301.9 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.1766, allocations: 5.409 MB / 307.3 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.1771, allocations: 81.55 kB / 307.4 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.1772, allocations: 31.98 kB / 307.4 MB, free: 22.53 MB / 266.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: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0005404/0.1777, allocations: 465.1 kB / 307.9 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.1779, allocations: 107.5 kB / 308 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.1781, allocations: 118 kB / 308.1 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1781, allocations: 8 kB / 308.1 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1781, allocations: 0 / 308.1 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1781, allocations: 3.984 kB / 308.1 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.1811, allocations: 2.3 MB / 310.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1811, allocations: 0 / 310.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1813, allocations: 63.91 kB / 310.5 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008293/0.1822, allocations: 463.7 kB / 310.9 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.1822, allocations: 12 kB / 310.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/0.1874, allocations: 5.35 MB / 316.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1874, allocations: 0 / 316.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.1896, allocations: 1.917 MB / 318.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.19, allocations: 211.3 kB / 318.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1901, allocations: 15.81 kB / 318.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.1905, allocations: 43.95 kB / 318.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.1907, allocations: 76.5 kB / 318.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.1907, allocations: 20 kB / 318.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005593/0.1913, allocations: 0.5576 MB / 319.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1913, allocations: 0 / 319.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008942/0.1922, allocations: 351.8 kB / 319.5 MB, free: 10.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.1923, allocations: 132 kB / 319.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.194, allocations: 1.25 MB / 320.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.194, allocations: 0 / 320.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.1949, allocations: 0.7967 MB / 321.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.1959, allocations: 266.5 kB / 321.9 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.1989, allocations: 2.346 MB / 324.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.1995, allocations: 0.7298 MB / 325 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.1998, allocations: 149.3 kB / 325.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1999, allocations: 48.5 kB / 325.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1999, allocations: 0 / 325.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of Templates: time 0.03217/0.2321, allocations: 18.43 MB / 343.6 MB, free: 2.477 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.963658901979215]