Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 108.6 kB / 21.18 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00248/0.00248, allocations: 189.4 kB / 24.47 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 47.91 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2419, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005461/0.2474, allocations: 3.708 MB / 427.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.2495, allocations: 1.032 MB / 428.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2498, allocations: 15.88 kB / 428.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.2501, allocations: 111.1 kB / 428.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008481/0.2509, allocations: 242.6 kB / 429 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.2513, allocations: 139.8 kB / 429.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.2524, allocations: 0.9573 MB / 430.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.253, allocations: 335.5 kB / 430.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.2535, allocations: 422.5 kB / 430.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008095/0.2543, allocations: 0.4942 MB / 431.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2545, allocations: 104 kB / 431.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.2546, allocations: 100 kB / 431.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.2549, allocations: 287.1 kB / 431.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.2554, allocations: 473.8 kB / 432.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2568, allocations: 1.286 MB / 433.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2568, allocations: 0 / 433.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2568, allocations: 0 / 433.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.2568, allocations: 7.922 kB / 433.6 MB, free: 4.973 MB / 334.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.002516/0.2594, allocations: 1.311 MB / 434.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2594, allocations: 12.03 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.2596, allocations: 96.38 kB / 435 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.2611, allocations: 0.5753 MB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.2611, allocations: 49.25 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2612, allocations: 75.98 kB / 435.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.2629, allocations: 0.9111 MB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2629, allocations: 0 / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.263, allocations: 27.98 kB / 436.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/0.2631, allocations: 41.23 kB / 436.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.2653, allocations: 0.7975 MB / 437.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006613/0.2719, allocations: 2.729 MB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.2732, allocations: 494.4 kB / 440.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/0.2741, allocations: 309.3 kB / 441 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.2741, allocations: 12.27 kB / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009577/0.2751, allocations: 381.3 kB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.2751, allocations: 4 kB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004353/0.2795, allocations: 1.115 MB / 442.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.2796, allocations: 114.8 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.2807, allocations: 0.5605 MB / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/0.2808, allocations: 41.69 kB / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.2813, allocations: 364.6 kB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.2815, allocations: 142.8 kB / 443.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.2817, allocations: 94.14 kB / 443.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002669/0.282, allocations: 366.7 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.2826, allocations: 220.8 kB / 444.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.2834, allocations: 360.2 kB / 444.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.2847, allocations: 0.5661 MB / 445.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.2847, allocations: 4 kB / 445.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00214/0.2869, allocations: 0.7439 MB / 446 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2869, allocations: 4 kB / 446 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2869, allocations: 4 kB / 446 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008596/0.2878, allocations: 208.7 kB / 446.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.2883, allocations: 79.77 kB / 446.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/0.2934, allocations: 2.831 MB / 449.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.2941, allocations: 51.8 kB / 449.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.2941, allocations: 23.94 kB / 449.2 MB, free: 4.801 MB / 350.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.0007078/0.2948, allocations: 333.5 kB / 449.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.295, allocations: 63.62 kB / 449.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.2952, allocations: 65.27 kB / 449.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2952, allocations: 4 kB / 449.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2952, allocations: 7.938 kB / 449.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.2952, allocations: 7.922 kB / 449.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.2991, allocations: 1.591 MB / 451.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2991, allocations: 0 / 451.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.2995, allocations: 43.97 kB / 451.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006911/0.3001, allocations: 200.8 kB / 451.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.3002, allocations: 15.98 kB / 451.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.3053, allocations: 2.83 MB / 454.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3053, allocations: 0 / 454.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.308, allocations: 1.1 MB / 455.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.3085, allocations: 119.5 kB / 455.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3086, allocations: 12 kB / 455.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.3091, allocations: 23.97 kB / 455.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.3092, allocations: 55.84 kB / 455.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.3093, allocations: 16 kB / 455.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008316/0.3101, allocations: 414.8 kB / 456.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3101, allocations: 0 / 456.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3113, allocations: 207.5 kB / 456.3 MB, free: 13.52 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.0002293/0.3116, allocations: 119.2 kB / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.3136, allocations: 0.6972 MB / 457.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3136, allocations: 1 kB / 457.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3148, allocations: 470.3 kB / 457.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.3159, allocations: 145.8 kB / 457.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.3197, allocations: 1.488 MB / 459.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.3207, allocations: 1.062 MB / 460.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.3209, allocations: 47.42 kB / 460.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3209, allocations: 0 / 460.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of Templates: time 0.0271/0.348, allocations: 12.87 MB / 473.2 MB, free: 12.58 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.360364499036223]