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.001629/0.001629, allocations: 116 kB / 18.45 MB, free: 4.566 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.001881/0.001881, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001476/0.001476, allocations: 51.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00576/0.1183, allocations: 3.725 MB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.1208, allocations: 1.087 MB / 432.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.1211, allocations: 27.81 kB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1214, allocations: 107.1 kB / 432.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007903/0.1222, allocations: 234.6 kB / 432.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.1226, allocations: 155.7 kB / 432.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1236, allocations: 0.9728 MB / 433.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.1243, allocations: 455 kB / 434.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006041/0.1249, allocations: 430.5 kB / 434.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.1256, allocations: 0.498 MB / 435.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1257, allocations: 104 kB / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1259, allocations: 104 kB / 435.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.1262, allocations: 283.2 kB / 435.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004987/0.1267, allocations: 485.7 kB / 436.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1281, allocations: 1.304 MB / 437.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1281, allocations: 0 / 437.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1281, allocations: 0 / 437.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.1282, allocations: 0 / 437.4 MB, free: 10.3 MB / 366.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.00225/0.1304, allocations: 1.208 MB / 438.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1305, allocations: 8.031 kB / 438.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/0.1309, allocations: 132.3 kB / 438.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.1319, allocations: 0.6574 MB / 439.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.1319, allocations: 53.25 kB / 439.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1321, allocations: 67.94 kB / 439.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.1336, allocations: 0.9189 MB / 440.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1337, allocations: 4 kB / 440.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.1337, allocations: 28 kB / 440.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.1338, allocations: 33.3 kB / 440.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1352, allocations: 0.7936 MB / 441.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.1393, allocations: 2.784 MB / 444.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.1403, allocations: 0.7176 MB / 444.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.1408, allocations: 309.2 kB / 445.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.1409, allocations: 8.312 kB / 445.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006492/0.1415, allocations: 389.8 kB / 445.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.1415, allocations: 0 / 445.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00299/0.1445, allocations: 1.225 MB / 446.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.1446, allocations: 118.6 kB / 446.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1856/0.3302, allocations: 0.5849 MB / 447.4 MB, free: 24.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3303, allocations: 36.89 kB / 447.5 MB, free: 24.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.3306, allocations: 365.5 kB / 447.8 MB, free: 24.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3307, allocations: 147.7 kB / 448 MB, free: 24.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3308, allocations: 86.17 kB / 448.1 MB, free: 24.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.3309, allocations: 371.2 kB / 448.4 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.3313, allocations: 217.5 kB / 448.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.3318, allocations: 365.6 kB / 449 MB, free: 23.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.3325, allocations: 0.5714 MB / 449.6 MB, free: 23.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3325, allocations: 0 / 449.6 MB, free: 23.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001168/0.3337, allocations: 0.7439 MB / 450.3 MB, free: 23.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3337, allocations: 7.781 kB / 450.3 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3337, allocations: 2.812 kB / 450.3 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.3342, allocations: 207.2 kB / 450.5 MB, free: 23.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3345, allocations: 74.5 kB / 450.6 MB, free: 23.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.3373, allocations: 3.031 MB / 453.6 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.3377, allocations: 62.16 kB / 453.7 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3377, allocations: 19.33 kB / 453.7 MB, free: 21.48 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004222/0.3382, allocations: 331.7 kB / 454 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.3382, allocations: 59.83 kB / 454.1 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.3384, allocations: 71.98 kB / 454.2 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3384, allocations: 5.312 kB / 454.2 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3384, allocations: 3.5 kB / 454.2 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.3384, allocations: 6.734 kB / 454.2 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.3409, allocations: 1.734 MB / 455.9 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3409, allocations: 0 / 455.9 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3412, allocations: 50.61 kB / 456 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.3416, allocations: 195.4 kB / 456.1 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.3416, allocations: 18.06 kB / 456.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.3443, allocations: 2.913 MB / 459.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3443, allocations: 0.5312 kB / 459.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.3461, allocations: 1.146 MB / 460.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.3464, allocations: 201.1 kB / 460.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.3465, allocations: 8.359 kB / 460.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.3468, allocations: 27.45 kB / 460.5 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.3469, allocations: 39.97 kB / 460.5 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.3469, allocations: 15.92 kB / 460.5 MB, free: 17.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.3475, allocations: 431.2 kB / 460.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3475, allocations: 0 / 460.9 MB, free: 17.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007791/0.3483, allocations: 206.7 kB / 461.1 MB, free: 17.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001443/0.3484, allocations: 130.5 kB / 461.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3496, allocations: 0.7144 MB / 462 MB, free: 16.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3496, allocations: 0 / 462 MB, free: 16.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.3503, allocations: 464.8 kB / 462.4 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.351, allocations: 158.7 kB / 462.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.3535, allocations: 1.595 MB / 464.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.354, allocations: 1.067 MB / 465.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.3542, allocations: 44.75 kB / 465.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3542, allocations: 4 kB / 465.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Templates: time 0.01634/0.3705, allocations: 13.15 MB / 478.4 MB, free: 9.664 MB / 366.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.208597352990182]