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.001922/0.001922, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 14.72 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.002764/0.002764, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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 1.341/1.341, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2275, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004982/0.2325, allocations: 3.353 MB / 351.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2343, allocations: 1.022 MB / 352.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2344, allocations: 19.88 kB / 352.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.2347, allocations: 119 kB / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006748/0.2354, allocations: 234.6 kB / 353.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.2357, allocations: 147.7 kB / 353.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2367, allocations: 0.9533 MB / 354.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.2371, allocations: 310.9 kB / 354.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.2376, allocations: 410.7 kB / 355.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.2383, allocations: 0.4942 MB / 355.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.2385, allocations: 103.9 kB / 355.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2386, allocations: 96 kB / 355.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.2389, allocations: 275.2 kB / 356 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.2393, allocations: 378.3 kB / 356.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2406, allocations: 1.295 MB / 357.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2406, allocations: 0 / 357.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2406, allocations: 0 / 357.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2406, allocations: 0 / 357.7 MB, free: 6.324 MB / 318.1 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.002183/0.2428, allocations: 1.287 MB / 359 MB, free: 4.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2428, allocations: 15.98 kB / 359 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.243, allocations: 100.3 kB / 359.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008943/0.2439, allocations: 0.548 MB / 359.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.2439, allocations: 57.25 kB / 359.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.244, allocations: 64 kB / 359.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.2455, allocations: 0.9283 MB / 360.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.2455, allocations: 8 kB / 360.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.2456, allocations: 20 kB / 360.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/0.2457, allocations: 37.3 kB / 360.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.247, allocations: 0.778 MB / 361.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.2509, allocations: 2.407 MB / 363.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.2517, allocations: 495.5 kB / 364.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.2523, allocations: 309.3 kB / 364.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2523, allocations: 4.328 kB / 364.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.2529, allocations: 407.7 kB / 365.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.2529, allocations: 0 / 365.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002742/0.2557, allocations: 1.129 MB / 366.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.2558, allocations: 110.8 kB / 366.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.2564, allocations: 0.5487 MB / 366.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2565, allocations: 33.7 kB / 366.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.2568, allocations: 364.5 kB / 367.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.2569, allocations: 146.8 kB / 367.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.257, allocations: 90.14 kB / 367.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.2572, allocations: 370.7 kB / 367.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.2576, allocations: 224.9 kB / 368.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.2582, allocations: 374.9 kB / 368.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.2591, allocations: 0.5691 MB / 369 MB, free: 10.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2591, allocations: 0 / 369 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001287/0.2603, allocations: 0.7359 MB / 369.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2604, allocations: 15.97 kB / 369.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.2604, allocations: 7.984 kB / 369.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.2609, allocations: 196.7 kB / 370 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.2612, allocations: 75.89 kB / 370.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.2646, allocations: 2.786 MB / 372.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.2649, allocations: 55.73 kB / 372.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.265, allocations: 20 kB / 372.9 MB, free: 6.539 MB / 334.1 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.0004011/0.2654, allocations: 325.5 kB / 373.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.2654, allocations: 55.62 kB / 373.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.2656, allocations: 77.12 kB / 373.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.2656, allocations: 7.938 kB / 373.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2656, allocations: 3.938 kB / 373.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2656, allocations: 3.984 kB / 373.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.2679, allocations: 1.412 MB / 374.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2679, allocations: 0 / 374.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2681, allocations: 55.89 kB / 374.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.2686, allocations: 196.8 kB / 375.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.2686, allocations: 8 kB / 375.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003215/0.2718, allocations: 2.763 MB / 377.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2718, allocations: 0 / 377.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.2735, allocations: 1.098 MB / 378.9 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2737, allocations: 119.6 kB / 379 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.2738, allocations: 12 kB / 379 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.2741, allocations: 27.97 kB / 379.1 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2742, allocations: 39.92 kB / 379.1 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.2742, allocations: 19.98 kB / 379.1 MB, free: 148 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004878/0.2747, allocations: 398.8 kB / 379.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2747, allocations: 4 kB / 379.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006476/0.2754, allocations: 211.4 kB / 379.7 MB, free: 15.55 MB / 350.1 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.0001412/0.2755, allocations: 119.7 kB / 379.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2768, allocations: 0.7174 MB / 380.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2768, allocations: 0 / 380.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.2775, allocations: 465.8 kB / 381 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.2781, allocations: 134.6 kB / 381.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.2807, allocations: 1.53 MB / 382.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.2812, allocations: 481.8 kB / 383.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00022/0.2814, allocations: 88.64 kB / 383.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2815, allocations: 48.42 kB / 383.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2815, allocations: 0 / 383.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Templates: time 0.01653/0.298, allocations: 9.568 MB / 392.9 MB, free: 2.316 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.548706553992815]