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.00154/0.00154, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001378/0.001378, allocations: 172 kB / 24.82 MB, free: 8.773 MB / 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.094e-06/2.094e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.712e-05, allocations: 5.125 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004297/0.004324, allocations: 3.656 MB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.006869, allocations: 1.067 MB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.007279, allocations: 19.88 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.007613, allocations: 111 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.00879, allocations: 254.3 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.009264, allocations: 163.6 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.01071, allocations: 0.9919 MB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.01144, allocations: 343.5 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.01264, allocations: 0.612 MB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008323/0.01347, allocations: 478.9 kB / 281.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.01368, allocations: 104 kB / 281.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.01389, allocations: 104 kB / 281.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.01413, allocations: 307 kB / 281.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.01448, allocations: 323.3 kB / 281.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.0154, allocations: 0.7827 MB / 282.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.0154, allocations: 3.938 kB / 282.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0154, allocations: 0 / 282.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.073e-05/0.01543, allocations: 4 kB / 282.7 MB, free: 7.918 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.001673/0.01711, allocations: 1.504 MB / 284.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01715, allocations: 20.03 kB / 284.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.01743, allocations: 164.3 kB / 284.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01796, allocations: 0.5235 MB / 284.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.01799, allocations: 45.69 kB / 284.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.01806, allocations: 72.33 kB / 285 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.01866, allocations: 0.5328 MB / 285.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.01868, allocations: 7.938 kB / 285.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.01873, allocations: 24 kB / 285.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.01877, allocations: 37.3 kB / 285.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.01915, allocations: 181 kB / 285.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.02132, allocations: 2.254 MB / 288 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.02162, allocations: 260.1 kB / 288.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.02179, allocations: 138.6 kB / 288.4 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.02181, allocations: 8.328 kB / 288.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.02207, allocations: 253.9 kB / 288.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.02207, allocations: 0 / 288.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009704/0.02304, allocations: 0.5245 MB / 289.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.02309, allocations: 110.8 kB / 289.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.02343, allocations: 0.5179 MB / 289.8 MB, free: 480 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.02346, allocations: 29.7 kB / 289.9 MB, free: 444 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1183/0.1418, allocations: 440.1 kB / 290.3 MB, free: 24.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.142, allocations: 144.9 kB / 290.4 MB, free: 24.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1422, allocations: 100.7 kB / 290.5 MB, free: 24.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1423, allocations: 0.5507 MB / 291.1 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1425, allocations: 45.41 kB / 291.1 MB, free: 23.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1426, allocations: 272.1 kB / 291.4 MB, free: 23.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.143, allocations: 320.8 kB / 291.7 MB, free: 23.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.143, allocations: 2.969 kB / 291.7 MB, free: 23.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006371/0.1436, allocations: 388.6 kB / 292.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1436, allocations: 8.578 kB / 292.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1436, allocations: 5.125 kB / 292.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.1439, allocations: 89.22 kB / 292.2 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1441, allocations: 79.03 kB / 292.3 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1456, allocations: 2.464 MB / 294.7 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1459, allocations: 40.81 kB / 294.8 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1459, allocations: 16.38 kB / 294.8 MB, free: 21.48 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.0002136/0.1461, allocations: 191.5 kB / 295 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.1462, allocations: 78.41 kB / 295 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.1463, allocations: 62.58 kB / 295.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1463, allocations: 8.656 kB / 295.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1463, allocations: 2.688 kB / 295.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1463, allocations: 2.062 kB / 295.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.1475, allocations: 1.008 MB / 296.1 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1475, allocations: 0.6562 kB / 296.1 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1477, allocations: 45.02 kB / 296.2 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.1479, allocations: 88.2 kB / 296.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.1479, allocations: 10.58 kB / 296.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.1493, allocations: 2.451 MB / 298.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1493, allocations: 0 / 298.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.1499, allocations: 0.5272 MB / 299.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1501, allocations: 101.9 kB / 299.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.1501, allocations: 13.94 kB / 299.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1503, allocations: 17.12 kB / 299.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.1504, allocations: 37.67 kB / 299.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1504, allocations: 15.84 kB / 299.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002687/0.1507, allocations: 321.8 kB / 299.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1507, allocations: 0 / 299.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006795/0.1514, allocations: 211.9 kB / 300 MB, free: 18.44 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.0001123/0.1515, allocations: 122.3 kB / 300.1 MB, free: 18.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005602/0.1521, allocations: 471.1 kB / 300.5 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1521, allocations: 5.312 kB / 300.5 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.1524, allocations: 376.8 kB / 300.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.1529, allocations: 146 kB / 301 MB, free: 17.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.1549, allocations: 1.265 MB / 302.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1552, allocations: 242.5 kB / 302.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.1554, allocations: 64.12 kB / 302.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.1557, allocations: 200.9 kB / 302.8 MB, free: 17.2 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1557, allocations: 0 / 302.8 MB, free: 17.2 MB / 266.7 MB Notification: Performance of Templates: time 0.01565/0.1713, allocations: 10.35 MB / 313.2 MB, free: 12.17 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.850067143794149]