Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 109.4 kB / 18.4 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 193.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 51.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1332, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005304/0.1385, allocations: 3.398 MB / 379.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1408, allocations: 0.8886 MB / 380.1 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.1413, allocations: 11.94 kB / 380.1 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1417, allocations: 59.36 kB / 380.2 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005963/0.1423, allocations: 126.8 kB / 380.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2306/0.3729, allocations: 131.9 kB / 380.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3741, allocations: 0.5065 MB / 380.9 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.3744, allocations: 174.9 kB / 381.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.3747, allocations: 199.7 kB / 381.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.375, allocations: 211.5 kB / 381.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.441e-05/0.3751, allocations: 45.5 kB / 381.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.012e-05/0.3752, allocations: 45.16 kB / 381.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3753, allocations: 102.5 kB / 381.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3756, allocations: 225 kB / 381.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.3762, allocations: 0.5151 MB / 382.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3762, allocations: 0 / 382.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3762, allocations: 3.438 kB / 382.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3762, allocations: 0.5312 kB / 382.4 MB, free: 9.59 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001325/0.3775, allocations: 0.7174 MB / 383.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.3776, allocations: 8.969 kB / 383.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3777, allocations: 49.8 kB / 383.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.3782, allocations: 342.9 kB / 383.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.3783, allocations: 28.25 kB / 383.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.3783, allocations: 38.66 kB / 383.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/0.379, allocations: 379.5 kB / 384 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3791, allocations: 5.344 kB / 384 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.3791, allocations: 17.67 kB / 384 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3791, allocations: 9.828 kB / 384 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.3797, allocations: 256.2 kB / 384.3 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.3818, allocations: 1.455 MB / 385.7 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.3822, allocations: 243.1 kB / 386 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.3826, allocations: 163 kB / 386.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.3827, allocations: 4.547 kB / 386.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.3831, allocations: 237.8 kB / 386.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/0.3831, allocations: 1.594 kB / 386.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001758/0.3849, allocations: 0.583 MB / 386.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.385, allocations: 108 kB / 387.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.3853, allocations: 299.1 kB / 387.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3854, allocations: 40.03 kB / 387.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3855, allocations: 216.4 kB / 387.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.3856, allocations: 92.47 kB / 387.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3857, allocations: 71.91 kB / 387.8 MB, free: 6.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.3858, allocations: 339.9 kB / 388.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.386, allocations: 92.44 kB / 388.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3863, allocations: 221.2 kB / 388.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.3867, allocations: 330.1 kB / 388.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.3868, allocations: 2.969 kB / 388.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007364/0.3875, allocations: 409.6 kB / 389.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3875, allocations: 7.25 kB / 389.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3876, allocations: 4.375 kB / 389.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.3879, allocations: 84.34 kB / 389.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.3882, allocations: 60.38 kB / 389.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.3903, allocations: 2.01 MB / 391.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3905, allocations: 39.38 kB / 391.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.3906, allocations: 17.73 kB / 391.3 MB, free: 3.914 MB / 318.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.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.0001943/0.3908, allocations: 169.2 kB / 391.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.3908, allocations: 39.94 kB / 391.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.3909, allocations: 39.41 kB / 391.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3909, allocations: 3.844 kB / 391.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3909, allocations: 0 / 391.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3909, allocations: 2.938 kB / 391.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007235/0.3917, allocations: 0.563 MB / 392.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3917, allocations: 1.281 kB / 392.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.3919, allocations: 32.14 kB / 392.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.3921, allocations: 83.88 kB / 392.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.3922, allocations: 7.844 kB / 392.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.3939, allocations: 1.981 MB / 394.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3939, allocations: 1.844 kB / 394.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.3948, allocations: 0.4976 MB / 394.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.395, allocations: 140.9 kB / 394.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.3951, allocations: 11.11 kB / 394.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3953, allocations: 14.22 kB / 394.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.3954, allocations: 32.78 kB / 394.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3954, allocations: 12.86 kB / 395 MB, free: 1.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.3956, allocations: 212 kB / 395.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3956, allocations: 0 / 395.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005226/0.3962, allocations: 113 kB / 395.3 MB, free: 0.9141 MB / 318.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001347/0.3963, allocations: 112.1 kB / 395.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000798/0.3971, allocations: 417.4 kB / 395.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3971, allocations: 0 / 395.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.3976, allocations: 288.9 kB / 396.1 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.398, allocations: 48.11 kB / 396.1 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3994, allocations: 0.7412 MB / 396.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.4, allocations: 0.8041 MB / 397.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.4001, allocations: 31.03 kB / 397.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4001, allocations: 0 / 397.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Templates: time 0.01255/0.4126, allocations: 5.88 MB / 403.6 MB, free: 13.65 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches