Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001292/0.001292, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.004332/0.004332, allocations: 166.2 kB / 25.33 MB, free: 9.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9456/0.9456, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 251.1 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.393e-05, allocations: 2.312 kB / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.01111/0.01113, allocations: 3.643 MB / 254.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.01301, allocations: 1.037 MB / 255.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.01323, allocations: 15.88 kB / 255.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.01653, allocations: 107.1 kB / 255.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.01729, allocations: 258.2 kB / 256.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.01761, allocations: 147.6 kB / 256.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009311/0.01854, allocations: 0.9958 MB / 257.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.01901, allocations: 302.9 kB / 257.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.02267, allocations: 0.5847 MB / 258.1 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.02343, allocations: 474.8 kB / 258.6 MB, free: 12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.02355, allocations: 100 kB / 258.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.02368, allocations: 100 kB / 258.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.0239, allocations: 287.1 kB / 259.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.0242, allocations: 331.2 kB / 259.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.02499, allocations: 0.7593 MB / 260.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.025, allocations: 8 kB / 260.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.025, allocations: 0 / 260.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.02501, allocations: 0 / 260.2 MB, free: 10.43 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004933/0.02994, allocations: 1.481 MB / 261.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.02998, allocations: 11.98 kB / 261.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.03019, allocations: 148.3 kB / 261.8 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.03088, allocations: 0.4993 MB / 262.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.03091, allocations: 45.69 kB / 262.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.03102, allocations: 68.31 kB / 262.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003903/0.03492, allocations: 0.5798 MB / 263 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.03494, allocations: 3.953 kB / 263 MB, free: 7.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.03499, allocations: 28 kB / 263 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.03505, allocations: 29.3 kB / 263.1 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.03561, allocations: 239.6 kB / 263.3 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.04176, allocations: 2.39 MB / 265.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.04224, allocations: 280.2 kB / 266 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.04254, allocations: 148.3 kB / 266.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.04258, allocations: 8.328 kB / 266.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.04296, allocations: 269.9 kB / 266.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.743e-06/0.04296, allocations: 0 / 266.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.004497/0.04746, allocations: 0.656 MB / 267 MB, free: 3.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.04752, allocations: 110.8 kB / 267.1 MB, free: 3.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.04795, allocations: 0.5065 MB / 267.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.04798, allocations: 41.69 kB / 267.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.04822, allocations: 411.3 kB / 268.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.342e-05/0.04831, allocations: 146.8 kB / 268.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.04842, allocations: 99.8 kB / 268.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.04862, allocations: 0.5508 MB / 268.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.04874, allocations: 68.98 kB / 268.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.04898, allocations: 288.6 kB / 269.2 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.04934, allocations: 341.8 kB / 269.6 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.04935, allocations: 4 kB / 269.6 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005773/0.04993, allocations: 432.4 kB / 270 MB, free: 88 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.04995, allocations: 10.97 kB / 270 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.04996, allocations: 4 kB / 270 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/0.05032, allocations: 95.7 kB / 270.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.05053, allocations: 84.27 kB / 270.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.05265, allocations: 2.539 MB / 272.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.05283, allocations: 59.58 kB / 272.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.05285, allocations: 23.98 kB / 272.8 MB, free: 13.15 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001775/0.05303, allocations: 192.3 kB / 273 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.0531, allocations: 67.67 kB / 273.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.05317, allocations: 65.19 kB / 273.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.05317, allocations: 4 kB / 273.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.05318, allocations: 0 / 273.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.05318, allocations: 7.984 kB / 273.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.05443, allocations: 1.176 MB / 274.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.05443, allocations: 0 / 274.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.05456, allocations: 43.91 kB / 274.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.05476, allocations: 95.64 kB / 274.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.05478, allocations: 15.98 kB / 274.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.0563, allocations: 2.519 MB / 277 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0563, allocations: 0 / 277 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.05692, allocations: 0.5748 MB / 277.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.05706, allocations: 107.5 kB / 277.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.0571, allocations: 11.98 kB / 277.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.05723, allocations: 23.98 kB / 277.7 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.05733, allocations: 55.89 kB / 277.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.05735, allocations: 8 kB / 277.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002514/0.0576, allocations: 334.8 kB / 278.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0576, allocations: 0 / 278.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004692/0.05807, allocations: 207.5 kB / 278.3 MB, free: 7.453 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.000144/0.05822, allocations: 111.2 kB / 278.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006342/0.05885, allocations: 0.494 MB / 278.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.05885, allocations: 256 / 278.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.05918, allocations: 400.5 kB / 279.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.0596, allocations: 149.5 kB / 279.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.06182, allocations: 1.319 MB / 280.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.06199, allocations: 242.2 kB / 281 MB, free: 4.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.06214, allocations: 72.64 kB / 281 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.06222, allocations: 44.48 kB / 281.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06222, allocations: 0 / 281.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of Templates: time 0.0123/0.07453, allocations: 9.621 MB / 290.7 MB, free: 10.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2399151739664376]