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.001477/0.001477, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001476/0.001476, allocations: 215.5 kB / 24.48 MB, free: 3.957 MB / 14.72 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.591/1.591, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001578/0.001578, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2213, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005118/0.2264, allocations: 3.45 MB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2285, allocations: 1.044 MB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.2287, allocations: 19.88 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.229, allocations: 111 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007298/0.2297, allocations: 242.6 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.23, allocations: 167.7 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.2311, allocations: 0.9612 MB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.2316, allocations: 359.5 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.2322, allocations: 422.6 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.2329, allocations: 0.5019 MB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.233, allocations: 104 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.2332, allocations: 104 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.2334, allocations: 283.2 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.2339, allocations: 386.3 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.2352, allocations: 1.318 MB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2352, allocations: 0 / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2352, allocations: 4 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.2352, allocations: 0 / 441.8 MB, free: 13.23 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002306/0.2375, allocations: 1.326 MB / 443.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2375, allocations: 8.031 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.238, allocations: 132.2 kB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2391, allocations: 0.5931 MB / 443.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.2391, allocations: 53.25 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.2392, allocations: 64 kB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2408, allocations: 0.944 MB / 444.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.2408, allocations: 7.953 kB / 444.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.2409, allocations: 27.98 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.2409, allocations: 37.25 kB / 445 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.2423, allocations: 0.7897 MB / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.2462, allocations: 2.421 MB / 448.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.2471, allocations: 0.4891 MB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.2476, allocations: 310.9 kB / 449 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2477, allocations: 4.328 kB / 449 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/0.2483, allocations: 399.6 kB / 449.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.2483, allocations: 4 kB / 449.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002753/0.2511, allocations: 1.119 MB / 450.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.2512, allocations: 114.6 kB / 450.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007095/0.2519, allocations: 0.5722 MB / 451.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.2519, allocations: 37.7 kB / 451.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.2522, allocations: 368.6 kB / 451.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2523, allocations: 146.7 kB / 451.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2525, allocations: 94.14 kB / 451.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2527, allocations: 370.8 kB / 452.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.2531, allocations: 216.9 kB / 452.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.2536, allocations: 389.4 kB / 452.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.2545, allocations: 0.5699 MB / 453.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2545, allocations: 0 / 453.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001271/0.2557, allocations: 0.7473 MB / 454.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2557, allocations: 8.5 kB / 454.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2558, allocations: 8 kB / 454.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/0.2563, allocations: 207.6 kB / 454.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.2566, allocations: 75.89 kB / 454.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.2599, allocations: 2.774 MB / 457.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.2603, allocations: 51.86 kB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.2603, allocations: 23.94 kB / 457.2 MB, free: 13.26 MB / 366.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_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.0004338/0.2608, allocations: 337.5 kB / 457.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.2609, allocations: 59.67 kB / 457.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.261, allocations: 61.41 kB / 457.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.261, allocations: 8 kB / 457.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.261, allocations: 3.984 kB / 457.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.261, allocations: 0 / 457.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.2634, allocations: 1.44 MB / 459.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2634, allocations: 3.984 kB / 459.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.2636, allocations: 47.91 kB / 459.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.2641, allocations: 188.7 kB / 459.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.2641, allocations: 15.98 kB / 459.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/0.2674, allocations: 2.769 MB / 462.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2674, allocations: 0 / 462.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.2691, allocations: 1.1 MB / 463.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.2694, allocations: 123.5 kB / 463.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.2695, allocations: 8 kB / 463.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.2698, allocations: 27.97 kB / 463.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.2699, allocations: 43.7 kB / 463.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.2699, allocations: 19.98 kB / 463.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005269/0.2705, allocations: 418.7 kB / 463.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2705, allocations: 0 / 463.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007198/0.2712, allocations: 207.5 kB / 464.1 MB, free: 6.223 MB / 366.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_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.0001597/0.2713, allocations: 119.4 kB / 464.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2726, allocations: 0.7093 MB / 464.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2726, allocations: 0 / 464.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.2734, allocations: 458.3 kB / 465.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.2741, allocations: 146.7 kB / 465.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.2766, allocations: 1.504 MB / 467 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.2771, allocations: 474.1 kB / 467.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2772, allocations: 39.44 kB / 467.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2772, allocations: 0 / 467.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of Templates: time 0.01792/0.2951, allocations: 13.3 MB / 480.8 MB, free: 5.453 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.475364343990805]