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.001636/0.001636, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.001853/0.001853, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 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.412/1.412, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 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 0.001561/0.001561, allocations: 50.95 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08549, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006139/0.09163, allocations: 4.306 MB / 375.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.09382, allocations: 1.266 MB / 377.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.09409, allocations: 35.75 kB / 377.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.09469, allocations: 218.4 kB / 377.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008946/0.09559, allocations: 370 kB / 377.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.09599, allocations: 211.6 kB / 378 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.09762, allocations: 1.529 MB / 379.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.09841, allocations: 0.5398 MB / 380 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.0991, allocations: 0.6581 MB / 380.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1001, allocations: 0.7744 MB / 381.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.1004, allocations: 168 kB / 381.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1006, allocations: 164 kB / 381.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.1011, allocations: 442.7 kB / 382.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.1017, allocations: 0.5796 MB / 382.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.1037, allocations: 2.11 MB / 384.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1037, allocations: 0 / 384.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1037, allocations: 7.938 kB / 384.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1037, allocations: 4 kB / 384.9 MB, free: 9.898 MB / 350.1 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.00322/0.1069, allocations: 1.869 MB / 386.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.107, allocations: 12.92 kB / 386.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.1072, allocations: 148 kB / 387 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.1087, allocations: 0.8891 MB / 387.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.1088, allocations: 74.38 kB / 387.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.109, allocations: 100.1 kB / 388 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.1113, allocations: 1.497 MB / 389.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.1114, allocations: 0 / 389.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1115, allocations: 40 kB / 389.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/0.1115, allocations: 45.94 kB / 389.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.1137, allocations: 1.296 MB / 390.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/0.1196, allocations: 3.761 MB / 394.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.1212, allocations: 1.005 MB / 395.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.1226, allocations: 0.6692 MB / 396.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1226, allocations: 8.656 kB / 396.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.1236, allocations: 0.6517 MB / 397 MB, free: 13.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.234e-06/0.1236, allocations: 0 / 397 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.009458/0.1331, allocations: 2.747 MB / 399.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1332, allocations: 111.5 kB / 399.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.1347, allocations: 0.7893 MB / 400.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.1348, allocations: 49.58 kB / 400.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/0.1354, allocations: 0.489 MB / 401.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.1357, allocations: 257.9 kB / 401.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.136, allocations: 130.7 kB / 401.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.1363, allocations: 394.7 kB / 401.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.1373, allocations: 393.7 kB / 402.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.1385, allocations: 0.5919 MB / 402.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.1407, allocations: 0.9171 MB / 403.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1407, allocations: 0 / 403.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003299/0.144, allocations: 1.29 MB / 405.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.144, allocations: 4 kB / 405.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.144, allocations: 4 kB / 405.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.1456, allocations: 480.4 kB / 405.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.1462, allocations: 95.81 kB / 405.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.1574, allocations: 5.367 MB / 411.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.1582, allocations: 87.58 kB / 411.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.1582, allocations: 23.98 kB / 411.2 MB, free: 15.11 MB / 382.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: 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.0009171/0.1592, allocations: 467.5 kB / 411.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.1594, allocations: 87.42 kB / 411.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.1597, allocations: 108.2 kB / 411.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1597, allocations: 11.98 kB / 411.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1597, allocations: 0 / 411.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.1597, allocations: 3.984 kB / 411.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.1655, allocations: 2.302 MB / 414.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1655, allocations: 128 / 414.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.166, allocations: 59.91 kB / 414.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.1674, allocations: 460.3 kB / 414.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.1675, allocations: 16 kB / 414.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.1784, allocations: 5.314 MB / 420 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.1784, allocations: 3.984 kB / 420 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/0.1827, allocations: 1.897 MB / 421.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.1834, allocations: 195.3 kB / 422.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.1835, allocations: 16 kB / 422.1 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.1842, allocations: 47.88 kB / 422.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.1845, allocations: 72.52 kB / 422.2 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.1845, allocations: 31.98 kB / 422.2 MB, free: 3.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008889/0.1854, allocations: 0.5576 MB / 422.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1854, allocations: 0 / 422.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009635/0.1864, allocations: 343.3 kB / 423.1 MB, free: 2.965 MB / 382.1 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.0001721/0.1866, allocations: 135.2 kB / 423.3 MB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.1888, allocations: 1.252 MB / 424.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1888, allocations: 0 / 424.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.1901, allocations: 0.8045 MB / 425.3 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1911, allocations: 246.8 kB / 425.6 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.1951, allocations: 2.353 MB / 427.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.1959, allocations: 0.7298 MB / 428.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.1963, allocations: 143 kB / 428.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1964, allocations: 60.44 kB / 428.8 MB, free: 13.16 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1964, allocations: 0 / 428.8 MB, free: 13.16 MB / 398.1 MB Notification: Performance of Templates: time 0.02879/0.2252, allocations: 18.48 MB / 447.3 MB, free: 10.93 MB / 414.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/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.946442979038693]