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.001624/0.001624, allocations: 107 kB / 21.18 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.001587/0.001587, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.001608/0.001608, allocations: 55.92 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00518/0.2322, allocations: 3.448 MB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.2341, allocations: 1.036 MB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.2343, allocations: 19.88 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.2345, allocations: 107.1 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.2352, allocations: 250.6 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.2356, allocations: 163.7 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2366, allocations: 0.9689 MB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.2371, allocations: 351.5 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.2376, allocations: 422.6 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.2383, allocations: 0.5019 MB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.2384, allocations: 108 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2386, allocations: 104 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.2389, allocations: 279.2 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004261/0.2393, allocations: 394.2 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2406, allocations: 1.314 MB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2406, allocations: 0 / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2406, allocations: 0 / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2406, allocations: 0 / 441.8 MB, free: 13.21 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.002344/0.243, allocations: 1.33 MB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.243, allocations: 12.03 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.2435, allocations: 128.2 kB / 443.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.2446, allocations: 0.5931 MB / 443.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.2446, allocations: 57.25 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2448, allocations: 64 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.2464, allocations: 0.944 MB / 444.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.2464, allocations: 11.89 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.2465, allocations: 24 kB / 444.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.2465, allocations: 41.22 kB / 445 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.248, allocations: 0.7897 MB / 445.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.252, allocations: 2.421 MB / 448.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000861/0.2529, allocations: 492.8 kB / 448.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.2535, allocations: 310.9 kB / 449 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.2535, allocations: 8.328 kB / 449 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006863/0.2542, allocations: 407.6 kB / 449.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.2542, allocations: 0 / 449.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002867/0.2571, allocations: 1.111 MB / 450.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.2572, allocations: 118.6 kB / 450.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.2579, allocations: 0.5683 MB / 451.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.2579, allocations: 37.7 kB / 451.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.2582, allocations: 376.6 kB / 451.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.2584, allocations: 146.8 kB / 451.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2586, allocations: 90.14 kB / 451.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.2588, allocations: 366.8 kB / 452.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.2592, allocations: 216.8 kB / 452.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.2598, allocations: 386.8 kB / 452.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.2607, allocations: 0.5738 MB / 453.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2607, allocations: 4 kB / 453.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001354/0.2621, allocations: 0.7437 MB / 454.1 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2621, allocations: 4 kB / 454.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2621, allocations: 4 kB / 454.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.2627, allocations: 208.7 kB / 454.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.263, allocations: 76.08 kB / 454.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.2665, allocations: 2.781 MB / 457.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.2668, allocations: 59.75 kB / 457.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.2668, allocations: 23.94 kB / 457.2 MB, free: 13.23 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.0004034/0.2672, allocations: 325.5 kB / 457.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.2673, allocations: 55.67 kB / 457.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.2675, allocations: 73.39 kB / 457.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2675, allocations: 4 kB / 457.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2675, allocations: 0 / 457.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2675, allocations: 0 / 457.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.2699, allocations: 1.444 MB / 459.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2699, allocations: 3.938 kB / 459.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.2701, allocations: 51.91 kB / 459.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.2706, allocations: 204.8 kB / 459.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.2706, allocations: 4 kB / 459.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.274, allocations: 2.765 MB / 462.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.274, allocations: 0 / 462.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2757, allocations: 1.1 MB / 463.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.276, allocations: 119.5 kB / 463.4 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.2761, allocations: 8 kB / 463.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.2764, allocations: 27.97 kB / 463.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2765, allocations: 51.69 kB / 463.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.2766, allocations: 16 kB / 463.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005145/0.2771, allocations: 414.7 kB / 463.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2771, allocations: 0 / 463.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006721/0.2778, allocations: 211.5 kB / 464.1 MB, free: 6.195 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.0001491/0.2779, allocations: 119.4 kB / 464.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.2792, allocations: 0.7128 MB / 464.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2792, allocations: 0 / 464.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.2799, allocations: 455.6 kB / 465.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.2806, allocations: 141.8 kB / 465.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.283, allocations: 1.483 MB / 467 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.2835, allocations: 486.1 kB / 467.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.2838, allocations: 96.67 kB / 467.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.2839, allocations: 43.44 kB / 467.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2839, allocations: 0 / 467.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of Templates: time 0.01832/0.3022, allocations: 10.64 MB / 478.2 MB, free: 8.184 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 -s gbode -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: 4.474861020993558]