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.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.002184/0.002184, allocations: 112.5 kB / 21.94 MB, free: 24 kB / 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.00219/0.00219, allocations: 204.5 kB / 25.24 MB, free: 3.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 207.6 MB / 236 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2791, allocations: 49.16 MB / 397.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004157/0.2833, allocations: 3.432 MB / 401.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2846, allocations: 0.8907 MB / 401.9 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2848, allocations: 9.438 kB / 402 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.285, allocations: 68.91 kB / 402 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.2853, allocations: 132.3 kB / 402.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.2856, allocations: 141.5 kB / 402.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.2861, allocations: 0.5024 MB / 402.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.2863, allocations: 128.7 kB / 402.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.2866, allocations: 203.6 kB / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.2869, allocations: 221.7 kB / 403.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.2869, allocations: 45.84 kB / 403.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.287, allocations: 43.94 kB / 403.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2871, allocations: 101.3 kB / 403.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.2873, allocations: 225.4 kB / 403.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.2879, allocations: 0.5234 MB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2879, allocations: 0 / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2879, allocations: 0 / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2879, allocations: 1 kB / 404.3 MB, free: 5.258 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.00119/0.2891, allocations: 0.7518 MB / 405 MB, free: 4.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2891, allocations: 13.83 kB / 405 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.2892, allocations: 53.64 kB / 405.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.2896, allocations: 285.6 kB / 405.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.2896, allocations: 33.17 kB / 405.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.2897, allocations: 36.62 kB / 405.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.2903, allocations: 383.1 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2903, allocations: 1.453 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.2903, allocations: 16.67 kB / 405.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.2903, allocations: 12.28 kB / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.2908, allocations: 255.3 kB / 406.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.2926, allocations: 1.414 MB / 407.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.293, allocations: 215.7 kB / 407.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.2933, allocations: 152.8 kB / 407.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2933, allocations: 7.688 kB / 407.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.2937, allocations: 224.9 kB / 408.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.2937, allocations: 0 / 408.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001429/0.2951, allocations: 0.5027 MB / 408.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2952, allocations: 109.7 kB / 408.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.2955, allocations: 290.9 kB / 409 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2955, allocations: 40.45 kB / 409 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2956, allocations: 212.9 kB / 409.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.2956, allocations: 112.7 kB / 409.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.2957, allocations: 67.38 kB / 409.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.2958, allocations: 344.5 kB / 409.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.296, allocations: 87.84 kB / 409.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.2962, allocations: 221.2 kB / 410 MB, free: 1.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.2966, allocations: 333.1 kB / 410.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2966, allocations: 1.375 kB / 410.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006468/0.2973, allocations: 408 kB / 410.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2973, allocations: 6.656 kB / 410.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2973, allocations: 5.312 kB / 410.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.2976, allocations: 87.31 kB / 410.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2978, allocations: 59.61 kB / 410.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.2996, allocations: 1.892 MB / 412.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2999, allocations: 40.97 kB / 412.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.2999, allocations: 17.94 kB / 412.9 MB, free: 15.29 MB / 334.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_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.0002016/0.3001, allocations: 168.7 kB / 413 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.3001, allocations: 37.66 kB / 413.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.3002, allocations: 41.5 kB / 413.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3002, allocations: 3.812 kB / 413.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3002, allocations: 1.438 kB / 413.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3002, allocations: 1.266 kB / 413.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.3009, allocations: 0.5442 MB / 413.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3009, allocations: 1.156 kB / 413.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3011, allocations: 30.92 kB / 413.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.3013, allocations: 86.11 kB / 413.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.3014, allocations: 6.562 kB / 413.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.3033, allocations: 1.887 MB / 415.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3033, allocations: 1.031 kB / 415.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.3043, allocations: 0.5059 MB / 416.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.3044, allocations: 60.34 kB / 416.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.3045, allocations: 14.56 kB / 416.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.3046, allocations: 14.89 kB / 416.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.3047, allocations: 28.86 kB / 416.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.3047, allocations: 15.8 kB / 416.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.305, allocations: 205 kB / 416.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.305, allocations: 0 / 416.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.3055, allocations: 113.1 kB / 416.6 MB, free: 12.3 MB / 334.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001294/0.3056, allocations: 106.6 kB / 416.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007956/0.3064, allocations: 405.4 kB / 417.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3064, allocations: 0 / 417.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.3068, allocations: 275.2 kB / 417.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3072, allocations: 59 kB / 417.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3085, allocations: 0.761 MB / 418.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.309, allocations: 0.8037 MB / 419 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.309, allocations: 25.97 kB / 419 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.309, allocations: 0 / 419 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Templates: time 0.009071/0.3181, allocations: 5.931 MB / 425 MB, free: 7.223 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6663694200105965]