Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.543e-05, allocations: 4.422 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004294/0.00433, allocations: 3.724 MB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006478, allocations: 1.067 MB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.00678, allocations: 19.88 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.007043, allocations: 111.1 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000814/0.007857, allocations: 250.3 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.008248, allocations: 163.6 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.009154, allocations: 0.992 MB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.009558, allocations: 347.4 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.01022, allocations: 0.6119 MB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.0108, allocations: 482.8 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.01091, allocations: 100 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.01106, allocations: 104 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.01123, allocations: 295.1 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.0115, allocations: 339.2 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.01219, allocations: 0.7788 MB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.01219, allocations: 4 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01219, allocations: 0 / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.01221, allocations: 3.938 kB / 282.3 MB, free: 8.094 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001604/0.01381, allocations: 1.524 MB / 283.9 MB, free: 6.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.01385, allocations: 8.031 kB / 283.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.01416, allocations: 168.3 kB / 284 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.01473, allocations: 0.547 MB / 284.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.01477, allocations: 57.66 kB / 284.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.01484, allocations: 68.33 kB / 284.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.01557, allocations: 0.5797 MB / 285.3 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.01559, allocations: 4 kB / 285.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.01564, allocations: 28 kB / 285.3 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.01568, allocations: 29.3 kB / 285.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.01611, allocations: 247.6 kB / 285.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.01836, allocations: 2.405 MB / 288 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.01873, allocations: 288.2 kB / 288.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.01897, allocations: 149 kB / 288.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01899, allocations: 8.328 kB / 288.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.01929, allocations: 265.8 kB / 288.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.01929, allocations: 0 / 288.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.00126/0.02055, allocations: 0.6494 MB / 289.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.0206, allocations: 114.7 kB / 289.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.02101, allocations: 0.526 MB / 290 MB, free: 152 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.02104, allocations: 41.69 kB / 290 MB, free: 104 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1111/0.1321, allocations: 422.9 kB / 290.4 MB, free: 25.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1323, allocations: 143.6 kB / 290.6 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1324, allocations: 102.6 kB / 290.7 MB, free: 25.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1325, allocations: 0.5501 MB / 291.2 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1327, allocations: 62.56 kB / 291.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1329, allocations: 282.9 kB / 291.6 MB, free: 24.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1332, allocations: 341.9 kB / 291.9 MB, free: 24.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1332, allocations: 2.469 kB / 291.9 MB, free: 24.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007261/0.134, allocations: 436.5 kB / 292.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.134, allocations: 7.969 kB / 292.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.134, allocations: 4.406 kB / 292.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.1343, allocations: 105.9 kB / 292.4 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1345, allocations: 72.16 kB / 292.5 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1361, allocations: 2.549 MB / 295.1 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.1364, allocations: 46.69 kB / 295.1 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.1364, allocations: 23.34 kB / 295.1 MB, free: 22.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.1366, allocations: 190.2 kB / 295.3 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1367, allocations: 78.8 kB / 295.4 MB, free: 21.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.1367, allocations: 65.14 kB / 295.5 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1367, allocations: 5.266 kB / 295.5 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1367, allocations: 1.062 kB / 295.5 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1367, allocations: 3.625 kB / 295.5 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1381, allocations: 1.179 MB / 296.6 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1381, allocations: 4.391 kB / 296.6 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1382, allocations: 46.53 kB / 296.7 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.1385, allocations: 94.25 kB / 296.8 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1385, allocations: 12.03 kB / 296.8 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.1399, allocations: 2.528 MB / 299.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1399, allocations: 0 / 299.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.1406, allocations: 0.5745 MB / 299.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1407, allocations: 114.6 kB / 300 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1407, allocations: 16.17 kB / 300 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1409, allocations: 25.55 kB / 300 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.141, allocations: 54.05 kB / 300.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.141, allocations: 12.03 kB / 300.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.1413, allocations: 344.8 kB / 300.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1413, allocations: 0 / 300.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.1419, allocations: 212 kB / 300.7 MB, free: 18.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000129/0.142, allocations: 121 kB / 300.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.1426, allocations: 0.4896 MB / 301.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1426, allocations: 0 / 301.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.143, allocations: 382.8 kB / 301.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.1435, allocations: 145.2 kB / 301.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1454, allocations: 1.278 MB / 303.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1456, allocations: 241.8 kB / 303.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.1458, allocations: 73.5 kB / 303.4 MB, free: 17.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.1459, allocations: 43.8 kB / 303.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1459, allocations: 0 / 303.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01263/0.1585, allocations: 10.17 MB / 313.6 MB, free: 11.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9089230899699032]