Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001986/0.001986, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002349/0.002349, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 8.035 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2744, allocations: 53.36 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00577/0.2801, allocations: 3.525 MB / 434.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2821, allocations: 0.9347 MB / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2823, allocations: 11.94 kB / 435.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.2826, allocations: 67.3 kB / 435.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.2829, allocations: 134.8 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.2833, allocations: 155.8 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.284, allocations: 0.5252 MB / 436.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.2842, allocations: 127.3 kB / 436.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.2846, allocations: 207.2 kB / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2849, allocations: 215 kB / 437 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.285, allocations: 48 kB / 437.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2851, allocations: 56 kB / 437.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2852, allocations: 111.5 kB / 437.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.2854, allocations: 234.8 kB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.2862, allocations: 0.5401 MB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2862, allocations: 0 / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2862, allocations: 0 / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2862, allocations: 0 / 438 MB, free: 15.97 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001529/0.2877, allocations: 0.7855 MB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2878, allocations: 12.03 kB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.2879, allocations: 74.72 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.2882, allocations: 72.58 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.2886, allocations: 295.3 kB / 439.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2887, allocations: 29.38 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.2887, allocations: 36.38 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.2895, allocations: 399.8 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2895, allocations: 3.938 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.2896, allocations: 20 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2896, allocations: 8 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005483/0.2901, allocations: 263.8 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.2925, allocations: 1.458 MB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.293, allocations: 222.5 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.2933, allocations: 153.2 kB / 441.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.2934, allocations: 8.219 kB / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004247/0.2938, allocations: 224.7 kB / 442 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 4.388e-06/0.2938, allocations: 4 kB / 442.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001698/0.2955, allocations: 0.5026 MB / 442.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.2956, allocations: 114.8 kB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.296, allocations: 308.5 kB / 443 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.2961, allocations: 33.7 kB / 443 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.2963, allocations: 220.7 kB / 443.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.2965, allocations: 111.1 kB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2966, allocations: 62.08 kB / 443.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002979/0.2969, allocations: 346.8 kB / 443.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.2971, allocations: 96.64 kB / 443.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.2974, allocations: 225.5 kB / 444 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.298, allocations: 332.3 kB / 444.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.298, allocations: 0 / 444.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007658/0.2987, allocations: 413.8 kB / 444.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2988, allocations: 4 kB / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2988, allocations: 4 kB / 444.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.2991, allocations: 88.73 kB / 444.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2993, allocations: 68.22 kB / 444.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3018, allocations: 1.895 MB / 446.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.302, allocations: 35.77 kB / 446.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3021, allocations: 20 kB / 446.9 MB, free: 6.602 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: 11 (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_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.3023, allocations: 166.2 kB / 447 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.3023, allocations: 51.89 kB / 447.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.83e-05/0.3024, allocations: 39.95 kB / 447.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3024, allocations: 3.938 kB / 447.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3024, allocations: 7.984 kB / 447.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3024, allocations: 0 / 447.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.3032, allocations: 0.5489 MB / 447.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3032, allocations: 0 / 447.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.3034, allocations: 27.98 kB / 447.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.3036, allocations: 84.81 kB / 447.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3036, allocations: 11.98 kB / 447.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.3056, allocations: 1.891 MB / 449.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3056, allocations: 4 kB / 449.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.3066, allocations: 0.4989 MB / 450.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3067, allocations: 63.66 kB / 450.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.3068, allocations: 11.98 kB / 450.3 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3069, allocations: 12 kB / 450.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.307, allocations: 31.94 kB / 450.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.307, allocations: 8 kB / 450.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.3073, allocations: 215.1 kB / 450.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3073, allocations: 4 kB / 450.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.3078, allocations: 111.8 kB / 450.7 MB, free: 2.625 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.3092, allocations: 1.053 MB / 451.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009314/0.3101, allocations: 402.9 kB / 452.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3101, allocations: 3.938 kB / 452.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.3106, allocations: 275.5 kB / 452.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3109, allocations: 57 kB / 452.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.316, allocations: 3.484 MB / 455.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.3164, allocations: 0.8035 MB / 456.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.3166, allocations: 34.97 kB / 456.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3168, allocations: 131.4 kB / 456.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3168, allocations: 7.938 kB / 456.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04462/0.3614, allocations: 8.769 MB / 465.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.51, allocations: 0 / 465.7 MB, free: 3.551 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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: 15.991613121004775]